> ..but in general searches are GET and
> never POST. I don't know where this nonsense comes from but
> it's breaking the principles behind the HTTP.

Well I don't disagree with this paradigm, but the point is Rails seems
to not allow one to set up a route  like the defaults provided by
map.resourses. i.e one URL, dispatched to to 2 different actions based
on HTTP method.

> Did you try :any instead of :post ?

Either one raises the nonsensical ActionController::MethodNotAllowed.
I say nonsensical because rake routes tells me do_search accepts
posts.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to