Hi, In my Rails apps I often have user interfaces that allow editing and updating of multiple records. I was wondering how developers generally implement this in terms of resources. I tend to do: map.resources :products do |prod| prod.resources :suppliers, :controller => ''product/suppliers'', :collection => {:edit_all => :get, :update_all => :put} end And use "update_all_product_suppliers_path(@product)" for my form path. A simpler alternative would be to change ''prod.resources'' to ''prod.resource'' but that would make changes to individual ''suppliers'' (e.g. via web service) harder and seems against the spirit of RESTful design. Creating/updating multiple records must be a common idiom, especially with the new nested attributes work, so how do you do it? Thanks, Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---