Multiple Actions

Greetings,

Just wondering, if I submit a form, or anything else that will activate
:action really, can I have it hit multiple actions??

Something like

:action => ‘new’, ‘update’

Or something like that.

Blessed Be

Phillip

Can you explain why you want to have ‘multiple actions’?

Phillip B. wrote:

Greetings,

Just wondering, if I submit a form, or anything else that will activate
:action really, can I have it hit multiple actions??

Something like

:action => ‘new’, ‘update’

Or something like that.

Blessed Be

Phillip

No.

You redirect to one action from within another, or more likely have your
actions call private or protected methods to carry out their functions.

Jason

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs