This doesn't seem to work on mysql, at least. We depend on this functionality as we're porting an old app over to rails; does anyone know where I can find out how to disable the magic going on here?
For fixture a: a: id: 0 stuff: "stuff" If 'id' is the primary key, it will be autoincremented upon each load, so that the first load it will be '1', then '2', so on. I want it to be '0'. :) Casting to string and other voodoo (such as ERB) do not have any effect; the fixture code is obviously checking for '0' and using the sequence instead. Any pragmatic advice (yes, we desperately want to get rid of things like this, but that's not pragmatic right now as the database has to run against both platforms ATM) would be greatly appreciated. Thanks! -Erik -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

