On Jun 6, 5:59 am, "James Adam" <[EMAIL PROTECTED]> wrote: > Essentially, simply_helpful's form_for helper will try to figure out > the correct URL that it should be POSTing to based on the object you > give it. If the form is for @workshop (<% form_for @workshop do ... > %>), with is an instance of Workshop, the form will POST to /workshops > (or PUT to /workshops/123 if editing a saved instance).
[snip] Thanks a lot, James - makes perfect sense now. Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
