On Mar 22, 2011, at 12:46 PM, sreid wrote:

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.

I'll ask the stupid question first -- did you restart the server?

Walter

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to