> Isn't _method only there for those methods that browsers won't use (eg
> DELETE). You should be able to make link_to_remote do an actual get
> rather than a fake one.
the question is - why rails 2.2.2 generates right JS cod for Ajax GET
request, but 2.3.2 isn't. It doesn't matter wich exactly method I
write. 2.2.2. generate correct JS code like
new Ajax.Request('/items', {asynchronous:true, evalScripts:true,
method:'get', ...
whereas 2.3.2 does this one
new Ajax.Request('/items/36497?_method=get...
see the difference?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---