Ruby on Rails Monday, November 1, 2010

Please give a suggestion about the right way to do it in Rails.

I have user profile form that is at url /my/profile
It posts PUT request to update it to the same url, but map.resources in
routes make put request with the need of :id option passed, but I know
this id from customer, it should be determined in controler just before
update.

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

No comments:

Post a Comment