I think this must be some kind of bug related to schema caching… this might work:
User.connection.schema_cache.clear!
User.reset_column_information
(for Rails 3.2.2)
I think this must be some kind of bug related to schema caching… this might work:
User.connection.schema_cache.clear!
User.reset_column_information
(for Rails 3.2.2)