Best_in_place - Uncaught TypeError: Object [object Object] has no method 'elastic'

193 views Asked by At

I am using the Best in place gem for editing a simple form in my rails app. When I change type to textarea I am getting the following error.

Uncaught TypeError: Object [object Object] has no method 'elastic'

Here's the code:

<%= best_in_place @user, :summary, :type => :textarea %>

best_in_place editing is working fine for all other fields, however, teaxtarea fields will not update.

Here's my asset pipeline:

//= require jquery
//= require jquery_ujs
//= require foundation
//= require jquery.purr
//= require_tree .
//= require best_in_place

Anyone have any ideas as to how I can fix this?

0

There are 0 answers