If you haven't yet, modify your gem as this:
gem 'best_in_place', github: 'bernat/best_in_place'
by simply doing gem 'best_in_place'
didn't work for me.
if that doesn't work, as the documentation suggest, replace:
format.json { render json: @renter }
with:
format.json { respond_with_bip(@renter) }
respond_with_bip
is a "utility method you should use in your controller in order to provide the response that is expected by the javascript side, using the :json format", says the documentation. I'm not sure how much this matters as my Rails 4 app is working without it.
Finally, if the update
action is restricted to logged in users only, make sure you are logged in.