Unobtrusive JavaScript Helpers

Certain helpers have certain unobtrusive JavaScript options that are available
to be used with any of the javascript adapters packaged with padrino. Once your
app has been generated with a particular
javascript adapter, you can utilize the baked in support with the link_to and
form_for tags.

A link with a custom method, when clicked by the user, visits the link using the
http method specified rather than via the 'GET' method.

Enabling UJS Adapter

Note: In order for the unobstrusive javascript to work, you must be sure to
include the chosen javascript framework and ujs adapter in your views (or
layout). For instance, if I selected jquery for my project: