Sliced Software

About

Thomas Mango writes software, has a bulldog, listens to Long Island Hardcore music and eats sandwiches.

He is currently working on Firefly, The Check-in Service for Twitter and Limited Pressing, An Online Store Community.

Rake That Data into A Pile of YAML

My friend, @milaniliev, pointed me to his very useful db:fixtures:dump rake task that allows for selectively dumping data from your database directly into YAML fixtures.

Update: It looks like this was also tackled in a different way by topfunky. He seems to have added a .to_fixture method to ActiveRecord::Base. I don’t think it accepts a WHERE clause, but that is probably easily patched.

Looking for really old posts? Until they are here at tumblr, see here!