rails/jquery-ujs — pull request #395 by KODerFunk (2014-10-28 10:48:13+00:00)
Title: Add data-params handling to handleMethod

This commit adds the functionality to fetch the data-params attribute from the link and add fields to the form that express the values from the data-param attributes.

This is useful for POST-requests via links that should post parameters instead of sending them in the URL.

My version of forgotten #307 from @phillipp, with escaping and composing hidden inputs from complex objects by @bcm's request.