작동하지 않습니다. 나는 here이라고 기술 된 설치 과정을 따라 갔다. 이 사이트의 다른 솔루션은 도움이되지 않았습니다.best_in_place가 함수가 아닙니다.
$(document).on 'ready page:load', ->
jQuery(".best_in_place").best_in_place();
return
나는 또한
<script type = 'text/javascript'>
$(document).ready(function() {
/* Activating Best In Place */
jQuery(".best_in_place").best_in_place();
});
</script>
는
를 application.js 뷰 자체에 호출 시도했다 : 나는 컨트롤러의 커피 파일에이 개발자 도구에 대한 오류static_pages.self-8c8a5c3….js?body=1:7 Uncaught TypeError: JQuery(...).best_in_place is not a function
가 계속
//= require jquery
//= require best_in_place
//= require jquery.turbolinks
//= require jquery_ujs
//= require jquery-ui
//= require best_in_place.jquery-ui
//= require bootstrap
//= require turbolinks
//= require_tree .
난 best_in_place.jquery-UI없이 시도하고
best_in_place 모두의 require_tree 아래의 순서를 변경이 내 Gemfile입니다 :
나는 보석 'best_in_place'를 시도했습니다gem 'rails', '4.2.6'
gem 'sqlite3'
gem 'devise', '~> 3.5', '>= 3.5.6'
gem 'best_in_place', '~> 3.0.1'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'jquery-rails'
gem 'jquery-ui-rails', '~> 5.0', '>= 5.0.5'
gem 'simple_form'
gem 'turbolinks'
gem 'jquery-turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'haml-rails', '~> 0.9.0'
gem 'bootstrap-sass', '~> 3.3.6'
gem 'bootstrap-will_paginate', '0.0.10'
gem 'sass-rails', '~> 5.0'
gem 'will_paginate', '~> 3.1'
gem 'bootstrap-editable-rails', '~> 0.0.9'
, GitHub의 '베르나/best_in_place '를 추천합니다.