March 2009
5 posts
rake db:rollback_to_common →
If you find yourself having to switch locally between different git branches that have different database schemata, (for instance, a master branch and a production branch), one of the biggest hassles is keeping the database in the right state. We wrote this rake task to make the process painless: just specify the branch you’re about to switch to, and it will automatically roll back to the...
Mar 26th
Using Git Submodules for Shared Rails Components →
I’ve been thinking for a while about how nice it would be to share the model layer of our Rails app with other codebases that don’t have to load up all of Rails. In particular, this would neatly allow one to avoid using Workling (which essentially runs the entire Rails stack as a Daemon), instead building lightweight queue-reading daemon processes that still have access to the model...
Mar 25th
Where are the REST frameworks? →
I’ve been thinking a lot about REST lately - what it means for Rails developers, and what it means in the broader scheme of things (the two are scarcely related). This article is an interesting addition to the discussion, and I’m especially intrigued by the treatment of hyperlinking and its relationship with the traditional Rails approach of polymorphic associations.
Mar 23rd
Using Ruby's Autoload Method To Configure Your App... →
Good primer on Ruby’s autoload keyword, which makes it easy to only load pieces of a library or application when you need them
Mar 19th
blowmage: anyone remember seeing a screenshot of _why's computer about a year ago? he was using a tiled window manager. can't find the url...
JamesKilton: ion?
JamesKilton: wmii?
Mikoangelo: _why uses a window manager?
Mikoangelo: I thought he just used eight switches and an enter key
Mar 10th