Re: Fixtures loading in Rails 3

Marnen Laibow-Koser
Fri, 28 May 2010 22:11:19 -0000

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,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org
--
Posted via http://www.ruby-forum.com/.