June 09, 2006
Older: Things Are A Changing
Newer: Parameter Driven Response-Type Determination
Plugin: Manage Fixtures
Creating fixtures is always really annoying for me. I do it out of necessity but definitely not out of love. Chris McGrath and Nathaniel Brown have created a plugin to help with this called Manage Fixtures. You can create fixtures for each table with:
rake db:fixtures:export_all
or just for certain tables with…
rake db:fixtures:export_for_tables TABLES=foo,bar
or based on a query like so…
rake db:fixtures:export_using_query SQL="select * from foo where id='bar'" FIXTURE_NAME=foo
Looks pretty cool.
0 Comments
Thoughts? Do Tell...