Various proposals have been floating around http://dev.rubyonrails.org/ticket/6424 to allow users to specify references to other fixtures in their fixture files, so that foreign key references are kept consistent in test fixtures.
One of the suggestions was to bring the fixture references plugin (http://wiki.pluginaweek.org/Fixture_references) into core. I know that, as a plugin, it's not hard to include it in your Rails application, but it's a rare Rails app indeed that doesn't have some measure of foreign key in it, and keeping fixtures as flexible and un-brittle as possible seems like a big win for testing. What do other people think about bringing this plugin in? If it's considered a possibility, I'll open up a ticket with a patch and whatnot, I just don't want to add yet more noise to Trac if it's generally considered a bad idea. - Matt -- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" The byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---