For those of you who use jQuery Mobile with Rails, I created a method
called mobile_button_to which allows you to customize and use any or all
options with a jQuery button.
The gist for the helper is located here, along with a brief example of
how to use it:
It acts as a normal link_to which accepts the name, and href (or #id),
followed by as many options as you'd like to use:
:role, :icon, :mini, :inline, :theme, :rel, etc.
The idea was to minimize code length, make it more readable, and
maintain a consistent rails presence when using buttons. If anyone has
similar helpers that you've created with jQuery Mobile, please feel free
to add them.