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 574 forks source link

How to add extra param on best_in_place field update in ruby? #550

Open acrolink opened 8 years ago

acrolink commented 8 years ago

I want to send an extra parameter when a particular field is edited in-line. The currently sent parameters look like this:

Parameters: {"entry"=>{"quantity"=>"1210"}, "authenticity_token"=>"--token--=", "id"=>"13"} Is it possible to attach to this object additional data? Thanks.

acrolink commented 8 years ago

I have just found that I don't need this option currently..