I followed all the steps according to http://railscasts.com/episodes/302-in-place-editing?view=asciicast
but it is not editing at the attributes place?
This is my page
<div class="well-lg box-left box-first">
<div class="row">
<h3>Personal Details</h3>
<br>
<ul class="list-group">
<li><strong><div class="col-sm-4">FName </div></strong>
<%= best_in_place @user, :fname %></li>
<li><strong><div class="col-sm-4">LName </div></strong>
<%= best_in_place @user, :lname %></li>
<li><strong><div class="col-sm-4">Email </div></strong>
<%= best_in_place @user, :email %></li>
<li><strong><div class="col-sm-4">Mobile </div></strong>
<%= best_in_place @user, :mob %></li>
</ul><br><%= link_to 'Edit', {:controller=>'users', :action=>'edit'}%>
</div>
</div>
Any help or solution?? Thanks in advance
Edit
application.js
//= require jquery
//= require jquery_ujs
//= require jquery.purr
//= require best_in_place
//= require turbolinks
//= require_tree .
user.js.coffee
jQuery ->
$('.best_in_place').best_in_place();
Best_in_place
is not completely compatible withRails 4
, you can try the following gems and see if they work.https://github.com/bootstrap-ruby/bootstrap-editable-rails
https://github.com/janv/rest_in_place