On Fri, Oct 16, 2009 at 5:39 PM, Erich Cranor <[email protected]> wrote:
> Rails 2.3.2 and SQLite3 > > I create a new project with a single basic scaffold, migrate the > database, and run test. Everything passes. Create a migration that > does a single rename_column operation, and migrate again. Now test > fails with an SQLException Table X has no column named [oldname]. Uh, yeah. That'll do it. Have you looked at the files created in that "test" directory when you generate a model with basic scaffold? Recommended :-) You might want to grep around there for [oldname], just for fun... -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

