rails/rails — pull request #5922 by rafaelfranca (2012-04-21 17:15:22+00:00)
Title: Extract link_to_function and button_to_function to a plugin

Since the Rails community is getting the [unobtrusive
javascript](http://en.wikipedia.org/wiki/Unobtrusive_JavaScript) as best
practices we don't need these helper anymore.

I'm extracting these helpers to a plugin and adding as dependency of
Rails 3.2.4. It will not be a dependency of Rails 4.0.

Closes #5886 and #3093 adding support to blocks in `link_to_function`

@jeremy @spastorino