With the process command:
def process(action, parameters = nil, session = nil, flash = nil)
How do I specify what goes into the body of the post?
With the process command:
def process(action, parameters = nil, session = nil, flash = nil)
How do I specify what goes into the body of the post?
Joe wrote:
With the process command:
def process(action, parameters = nil, session = nil, flash = nil)
How do I specify what goes into the body of the post?
That should be what the paremeters value is for:
process :foo, :user => {:name => ‘Joe’}
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs