I\'m making an app on Rails, and it works locally, but images and JavaScript is not loading when I try to deploy it on Heroku.
application.js:
//= r
Your javascript is loading fine. You have an error because you're using an older plugin which tries to use $.browser which has now been removed from jQuery (see note here: http://api.jquery.com/jQuery.browser/).
You need to install the jQuery.migrate plugin: http://code.jquery.com/jquery-migrate-1.2.1.js