I'm working on a project in Rails 5.1.6 / ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] My problem is that, following step by step the documentation of the gem best_in_place I get an error. Error:
I am a little complicated with the documentation since it is not fully explained how to implement the gem in Rails 5. Any help is useful. Thank you very much!
Important data: assets / javascripts / application.js
assets / javascripts / use_best_in_place.js
Gemfile
gem list
views / layout / application.html.erb
Why are you loading jquery twice? One in application.js and other in views?
Try removing the one in views and it should work fine.