bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 572 forks source link

undefined method in render_json #481

Closed jay-clark closed 9 years ago

jay-clark commented 9 years ago

I'm trying to use best in place on a rails sti model, and for some reason it throws an error in render_json on line 9 when it tries to call a method on my model which doesn't exist. Is there anything special you have to do with STI models?

jay-clark commented 9 years ago

No idea how, but the error went away after the rails server was restarted.