[Rails] tests fail after activerecord rename_column
I've renamed a column in an activerecord table by migrating. I
searched and changed all references from <old column name> to <new
column name> in source / tests.
However, a lot of my tests now fail with errors of the type :
SQLException ... table has no column named <old column name>.
I also did a grep and can't find any references to <old column name>
in the project directory.
Which files could be using the <old column name> ? Are there some
binary files that I need to clear ? I'm using Rails 3.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home