I''m looking for examples using resource-base, aka restful, routes for ajax requests. So far, I''ve resorted to adding routes for ajax with explicit map.connect '':controller/update_ui/:id'', :action => ''update_ui'' Presumably, the same could be done with something like map.resources :mymodels, :member => { :update_ui => :get } The problem I''ve encountered there is that it breaks down when I try to use it from a view that shows a new object and thus doesn''t have an id. Michael -- Michael Schuerig mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org http://www.schuerig.de/michael/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---