Include jQuery migrate for Rails application
Add this line to your application's Gemfile:
gem 'jquery-migrate-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jquery-migrate-rails
Add jquery migrate rails to app/assets/javascripts/application.js:
Include it after the jquery as below
//= require jquery
//= require jquery-migrate-min
###Reference
- jQuery upgrade: http://jquery.com/upgrade-guide/1.9/
- jQuery migrate: https://github.com/jquery/jquery-migrate
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request