I have this piece of code:
<%= link_to \"New User\", new_user_path, :class => \"button\" %>
which works fine, but when I
Jesus Rodriguez is right about POST and GET, but if you really need the button you can simply override the default method:
<%= button_to "New User", new_user_path, :class => "button", :method => :get %>