On 10 March 2010 12:13, Neil Bye <[email protected]> wrote:
>
>>>
>>> How does the submit know which one to use?
>>
>> What do you mean?
>>
>> Colin
>
> I now want a 'edit'
>> page for the stories with another submit for updates. I have used the
>> 'create' and 'update' methods in the stories_controller on the 'new' and
>> 'show' pages. What method can I use for the submit on the 'edit' page?
>
>
> So I have two submits and two method definitions. how can I make each
> submit relate to one of the differet methods.

Do you mean you have two submits in one form?  You had not mentioned
that before, or I missed it.

Colin

-- 
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 [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-talk?hl=en.

Reply via email to