My app runs perfectly on my local server but returns the error below when I try to push it to heroku:
ActionView::Template::Error (undefined method 'code' for nil:NilClass)
The method 'code' is the title of the first column in my SQLite database and is used to search for products in a search bar which are then graphed on my app.
Anyone know what could be causing this?