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 taskrake db:fixtures:load
But that disapeared with Rails 3.
Any hints?
Use factories. Fixtures are crap and should be avoided.
Thanks,
Ramos.
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Anyway, is there still support for fixtures loading in rails 3?
If so, how?
On Fri, May 28, 2010 at 11:11 PM, Marnen Laibow-Koser
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs