search for: flexiblefixtur

Displaying 3 results from an estimated 3 matches for "flexiblefixtur".

Did you mean: flexiblefixtures
2006 Mar 18
1
Fixtures and single table inheritance
...lass but Rails tries to load that data into the non-existent child table. I could create a fixture named for the real, parent table, but then it would be very difficult to test for the individual functionality and integrity of each sub-class. I saw this page http://wiki.rubyonrails.com/rails/pages/FlexibleFixtures , but the comment at the top leads me to believe that solution won''t work, and I would like to avoid using the linked patch to fork my Rails install since that sounds like more trouble than it''s worth. Unit testing an STI model seems like a fairly com men event, so there must b...
2006 Feb 08
4
Fixture question...
Ok, I''m pretty sure I''ve seen this done before. I have a fixture that isn''t named the same as the table I want to insert the stuff into. Whats the right way to go about this?! Google has failed me! :( -Nick
2006 Mar 28
0
Multiple databases & testing
...rk when using multiple databases? Fixtures don''t exactly comply with the object oriented model; it assumes they all use the same default database. I came up with a hack for Rails 1.0, but it was a big task and I don''t want to have to redo it for each release of Rails. Will FlexibleFixtures support transactions for multiple databases? If it does then it might work. -John -- John Smilanick Computing Staff - Webmaster Kavli Institute for Theoretical Physics University of California, Santa Barbara jsmilani@kitp.ucsb.edu (805) 893-6307 -------------- next part -------------- An HT...