[Rails] Re: FORM fields sent to the CONTROLLER

2010-04-20 Thread David Zhu
Wait colin, I'm just hitting Reply at the bottom of the page. Isn't that what I'm supposed to do? I'm pretty sure everything is in chronological order as welll... what exactly do you mean? On Apr 19, 3:38 am, Sharagoz shara...@gmail.com wrote: I think he means how he can specify where the

[Rails] Re: FORM fields sent to the CONTROLLER

2010-04-20 Thread Marnen Laibow-Koser
David Zhu wrote: Wait colin, I'm just hitting Reply at the bottom of the page. Isn't that what I'm supposed to do? Yes, but then type your reply *after* the relevant lines in the quoted text (as I'm doing here). This is the order in which you'd have a conversation. Best, -- Marnen

[Rails] Re: FORM fields sent to the CONTROLLER

2010-04-19 Thread Sharagoz
I think he means how he can specify where the request is going to go. The form_for takes an :url paramter that lets you set the destination of the request. % form_for @course, :url = {:controller = 'my_controller', :action = 'my_action', :id = 'my_id'} do |f| % On Apr 18, 10:13 am, Colin Law

Re: [Rails] Re: FORM fields sent to the CONTROLLER

2010-04-18 Thread Colin Law
On 18 April 2010 02:55, David Zhu dzwestwindso...@gmail.com wrote: wait what am I doing wrong with my posting? Are you talking about POST in rails, or email posting here? If the email then it is best to insert your reply into the previous email as I have here (after your question), rather than

Re: [Rails] Re: FORM fields sent to the CONTROLLER

2010-04-17 Thread Colin Law
On 16 April 2010 23:11, David Zhu dzwestwindso...@gmail.com wrote: right i understand colin what you mean, but u must have mis understood my question- My question is after the user hits submit, how can i transfer the content for the fields in the form that he just filled out- into the

[Rails] Re: FORM fields sent to the CONTROLLER

2010-04-17 Thread David Zhu
wait what am I doing wrong with my posting? On Apr 17, 3:58 am, Colin Law clan...@googlemail.com wrote: On 16 April 2010 23:11,DavidZhudzwestwindso...@gmail.com wrote: right i understand colin what you mean, but u must have mis understood my question- My question is after the user hits

[Rails] Re: FORM fields sent to the CONTROLLER

2010-04-16 Thread David Zhu
right i understand colin what you mean, but u must have mis understood my question- My question is after the user hits submit, how can i transfer the content for the fields in the form that he just filled out- into the controller? Do you understand? FOr ex--- % form_for @course do |f| % %=