Hey, i had the same error and i used the same jquery script as you have.
The quick solution is change the post request to get. It are normal
links anyway. Dont know why you need post for that.
function ajaxLinks(){
$('a.get').getWithAjax();
}
<%= link_to "Save", {:controller => 'budgets', :action => 'validate',
:id => @budget}, :class => "button get" %>
Good luck!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.