This post originated from an RSS feed registered with Ruby Buzz
by Chad Fowler.
Original Post: Rails 1.1: Selective Fixture Loading
Feed Title: ChadFowler.com
Feed URL: http://feeds2.feedburner.com/Chadfowlercom
Feed Description: Best practices, worst practices, and some generally obvious stuff about programming.
Rails 1.1 introduces greater than 500
enhancements and fixes. Here’s one of the more obscure ones that
you may not hear about otherwise. I was able to slip a trivial (one line)
patch in just under the wire for Rails 1.1 before it went out yesterday.
Now you can do this:
rake db:fixtures:load FIXTURES=people
or multiple:
rake db:fixtures:load FIXTURES=people,surveys
Not a big deal for the average Rails developer, but when you’ve got
150+ models and 6.5MB of fixtures like we
do it makes a big difference.