Hello folks,
Anyone knows how can we load fixtures in Rails 3. Up to rails 2 there was a rake goal which performed the task
rake db:fixtures:load
But that disapeared with Rails 3.
Any hints?
Thanks, Ramos.
Hello folks,
Anyone knows how can we load fixtures in Rails 3. Up to rails 2 there was a rake goal which performed the task
rake db:fixtures:load
But that disapeared with Rails 3.
Any hints?
Thanks, Ramos.
Ramos wrote:
Hello folks,
Anyone knows how can we load fixtures in Rails 3. Up to rails 2 there was a rake goal which performed the task
rake db:fixtures:load
But that disapeared with Rails 3.
Any hints?
Use factories. Fixtures are crap and should be avoided.
Thanks, Ramos.
Best,
Anyway, is there still support for fixtures loading in rails 3?
If so, how?