rails/jquery-rails — pull request #70 by phillipp (2012-09-18 22:36:52+00:00)
Title: Add data-params handling to handleMethod in UJS

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.