I'm using a rakefile to seed my database. I was seeing weird behavior (see Additional user attributes results in UnknownAttributeError and NoMethodError) and have concluded that it is operating on an old version of my database (at the very least, an old version of my Users table, perhaps more).
- Running the rakefile on localhost works fine
- On Heroku, printing User.column_names within the rakefile shows the old version of the table
- On Heroku, printing User.column_names from within the main app shows the new version of the table
- Within Heroku rails console, User.column_names shows the new version of the table
Any ideas how to resolve?