I need to update severall different ''enrollment'' models from
one form, the
form looks like this:
Enrollment Requests:
John Doe: oApprove oDecline
Jane Doe: oApprove oDecline
I''m using a REST architecture. My assumption would be that I would add
a
new method to the enrollments route, something like:
map.resources :groups do |group|
group.resources :enrollments, :collection => {:group_update => :post}
This works but I''m wondering if their is a better way of doing it.
Thanks
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---