[Rails] Re: db:fixtures:load not working anymore?!
Haha, I know. It's just a small part that remained in fixture and too lazy to move them to machinist. Will do soon, promise! :) -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: db:fixtures:load not working anymore?!
Heinz Strunk wrote in post #960377: > Problem solved, I played around and figured out that Rails 3 apparently > needs the file ending as well. > > rake db:fixtures:load FIXTURES=menus.yml works fine! Great. Now stop using fixtures. They're a broken feature of Rails and should be avoided entirely. Install Machinist or Factory Girl and rewrite your tests to use factories. They'll be less brittle and easier to maintain. Best -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
[Rails] Re: db:fixtures:load not working anymore?!
Problem solved, I played around and figured out that Rails 3 apparently needs the file ending as well. rake db:fixtures:load FIXTURES=menus.yml works fine! -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.