Thursday, January 6, 2011

[Rails] Re: Forceing PUST vs. POST in form

James Byrne wrote in post #972946:
> Marnen Laibow-Koser wrote in post #972943:
>
>>
>> You probably don't want the form submission to be GET.
>>
> You are probably right. But for now I am simply exploring how things
> work for a nested resource. I will rewire the controller when I figure
> how what I want each bit to do and how I want it to look.

No! If you need to make the form submission GET, then something is
*badly wrong*. Rails' resource mapping should make the PUT form work by
default. If that isn't working, find out why. Perhaps we should take a
look at your routes.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate