I implemented best_in_place
gem according to #302 In-Place Editing screencast.
Views are located under admin/users
.
Given this code on a page
= best_in_place @user, :admin, type: :input
The result renders ok and it changes its status to editable field when clicked but when try to save the value I can see this error
POST http://localhost:3000/admin/users 404 (Not Found)
Any idea how to solve this?
Solved.
I was using $('.custom-selector').best_in_place()
instead of internal
$('.best_in_place').best_in_place()