werein / x-editable-rails

Edit fields easily with X-Editable helper
https://wereinhq.com/guides/x-editable-rails
MIT License
155 stars 87 forks source link

Should use param_key for proper choice of the model parameter #70

Closed atwam closed 8 years ago

atwam commented 8 years ago

The name that should be used for the object parameters array should come from param_key.

(https://github.com/rails/rails/blob/9f44aa08636dfbba9261f4350ec14684425c4b7b/actionview/lib/action_view/helpers/form_helper.rb#L433)

jirikolarik commented 8 years ago

Good catch, thanks :+1:

kntmrkm commented 8 years ago

When release new version include this PR?