Re: Re: Fixtures loading in Rails 3

Ramos
Wed, 02 Jun 2010 08:49:18 -0000

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
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:

> 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/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>