My rails app is running perfectly in development (local machine), but when I push it to Heroku I get the following error message:
ActionView::Template::Error (undefined method `advice’ for nil:NilClass):
I ran the following to make sure I’m not missing a migration on heroku:
heroku run rake db:reset
heroku run rake db:migrate
I’m running postgres on production and development.
Many thanks for helping!