Rails 3.2.1 アプリケーションに best_in_place gem を使用しています。私の開発に間違いはありません。本番環境でアプリケーションを実行しようとすると、スクリプト エラーが発生します
$(".best_in_place").best_in_place is not a function in my browser.
私のビューページには、次のコードがあります
<%= stylesheet_link_tag "best_inplace", "jquery-ui-1.8.20.custom" %>
<%= javascript_include_tag "application", "jquery.dataTables.min" %>
<%= best_in_place @user, :description, :type => :textarea %>
<script>
jQuery(".best_in_place").best_in_place();
</script>