Archive for March 12th, 2012
Barebone models to use with ActionPack in Rails 4.0 | Plataformatec Blog
Barebone models to use with ActionPack in Rails 4.0 | Plataformatec Blog:
Rails 4.0 – current master branch at the time of this writing – has recently got a small – yet very useful – addition: ActiveModel::Model. The implementation is really simple, as you can see
[Nice.]
Getting the Most out of Bundler Groups – Adventures with Ruby
Getting the Most out of Bundler Groups – Adventures with Ruby:
Did you know you can create as many groups in Bundler as you like? You can and I think you should! Let me show you some ways I use groups to clean up my Gemfile.
European vs American cooking habits and why it matters for programming
European vs American cooking habits and why it matters for programming:
It doesn’t matter if it’s cooking or programming or doing whatever, really—you can learn from other people and how they do things differently from you. Don’t dismiss them outright. Hear what they have to say. Here’s one concrete example for myself that I’ve stumbled upon: I dismissed the meaningful indentation in Python, but later I’ve come to like it in CoffeeScript.However, if something doesn’t hold up to the claims, or is doing things objectively wrong—it’s OK to be dismissive. It’s good to be opinionated. Just think about it for a second first, and better yet try it out. You might be surprised about what you fall in love with that at first seemed outlandish or stupid to you.
[It feels like we all learn this lesson one at a time. Keep an open mind people, you never know what you might discover.]



