Ruby on Rails best_in_place gem throwing error
问题 I am following the guide on https://github.com/bernat/best_in_place When I run my app I get the error below: What does this mean??? %table - @schedules.each do |s| %tr %td= best_in_place s, :name $(document).ready(function() { /* Activating Best In Place */ jQuery(".best_in_place").best_in_place(); }); Uncaught TypeError: Object [object Object] has no method 'best_in_place' 回答1: First, you need to ensure that the best_in_place gem is installed to your environment and the JavaScript file is