Well I am not sure if my solution is totally correct but I think I
have solved this for now with a simple rake task.  I posted <a
href="http://rtmatheson.com/2009/07/loading-a-single-fixture-in-
rails/" >how to run a single fixture in rails</a> on my blog.

On Jul 13, 12:22 pm, Stewart <stewart.mathe...@gmail.com> wrote:
> Hello.  I need to run a single fixture on my server as part of an
> update to my application.  I noticed that the other tables lost their
> data when I run "rake db:fixtures:load". How do I make it so that only
> a single fixture runs and ignores the rest?
--~--~---------~--~----~------------~-------~--~----~
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@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to