On Aug 23, 1:49 am, 7stud -- <li...@ruby-forum.com> wrote: > > > or polymorphic_path(item_to_delete) (which is what gets called if you > > do button_to('delete', item_to_delete, :method => 'delete') ) > > So what you are saying is that rails automatically does all that for you > under the hood--if you specify a model object for the path in > button_to()?
Yes. Fred -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.