jQuery UI and Rails form submit buttons

jQuery UI and Rails form submit buttons


I'm writing a rails app, and want to quickly and easily style my
submit buttons so to go with the rest of my site, but i'm finding
that:
            <%= f.submit 'testing', :class => "ui-state-default" %>
provides me with the wrong code, rather than creating a button, it
creates
<input id="user_submit" class="ui-state-
default" type="submit" value="testing" name="commit"/>
While this still looks nice, it doesn't do exactly what I would like.
(Cursor changing to pointer on hover, color change on hover, etc.) Are
there any tutorials for styling forms in rails with jQuery UI (I would
love this) ? I can achieve the correct functionality by completely
hacking up my rails code, but at too high a cost of readability. Am I
missing something simple, or just doing this plain wrong?