jquery - best_in_place error in heroku -


i have best_in_place gem working in dev environment, when deploy heroku, receive following error in view:

actionview::template::error (undefined method `best_in_place' #<#<class:0x000000036600a0>:0x000000037a12e8>): 2013-04-05t13:00:55+00:00 app[web.1]:     56:               <% end %> 2013-04-05t13:00:55+00:00 app[web.1]:     57:             </div> 2013-04-05t13:00:55+00:00 app[web.1]:     61:           </div> 2013-04-05t13:00:55+00:00 app[web.1]:     62:           <div class="budget_description budget_field"> 2013-04-05t13:00:55+00:00 app[web.1]:   app/controllers/budgets_controller.rb:33:in `show' 2013-04-05t13:00:55+00:00 app[web.1]:  2013-04-05t13:00:55+00:00 app[web.1]:     58:             <div class="budget_name budget_workspace"> 2013-04-05t13:00:55+00:00 app[web.1]:     59:               <h1><%= best_in_place @budget, :name, :inner_class => "test" %></h1> 

my gemfile:

source 'https://rubygems.org'  gem 'rails', '3.2.8'     gem 'devise' gem 'pg' group :assets   gem 'sass-rails',   '~> 3.2.3'   gem 'coffee-rails', '~> 3.2.1'   gem 'uglifier', '>= 1.0.3'   gem 'jquery-rails'   gem 'best_in_place' end 

does gem 'best_in_place' need outside assets group?

yes, should move best_in_place gem out of assets group.

the assets group included during deployment asset compilation, not during run time.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -