Charlie Hubbard
2006-Aug-30 02:22 UTC
Loading fixtures into memory without changing the database
I''m trying to test my validation code so I would like to use fixtures for my data source. However, fixtures want to add the data to the database before making the data available to your test. Since I''m testing the validation routines I want to create data in my fixtures that won''t be valid in the database. Is there a way I can load the fixture files into memory without creating records in the database.? Charlie -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---