On 22 March 2011 19:31, djangst <[email protected]> wrote: > You might need to run `rake db:test:prepare`.
If the test database was still the old format then I would have expected the error when running the tests to be of the form SQLException ... table has no column named <new column name> rather than no column <old column name> @OP if your original post was incorrect and the error *is* saying that there is no column <new name> then I think djangst is probably correct. If your original post is correct then you must be referencing the old column name somewhere. Have a look in test.log and see if that gives any clues. Colin > > On Mar 22, 12:46 pm, sreid <[email protected]> wrote: >> However, a lot of my tests now fail with errors of the type : >> SQLException ... table has no column named <old column name>. -- 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.

