rails/jquery-ujs — pull request #307 by phillipp (2013-02-18 11:57:35+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.