I am in a great need of you people. My migrations are not running on
production database. I done some changes in production mode and then i
ran rake db:migrate RAILS_ENV=production / RAILS_ENV="production". But
my database is not reflecting. Can you people tell me that what are the
possible combinations of mistake i am doing ..
Have you changed database configuration in your database.yml?
Are you getting any error messages (command line or in the log)?
Did you create new migrations or edit existing ones?
Does the list of applied migrations (select * FROM schema_migrations;)
match the list of migrations you expect to have been run (excluding
the new ones you're thinking should run)?
Does "script/console production" work and give you access to your
Are you using a SQLite production database (I don't know how big your
site is) that is then being removed and symlinked from a shared DB by
Capistrano after migration?
Running out of ideas until I get some answers...