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 <clan...@googlemail.com> wrote:
> 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 at the top of the mail.
>  This makes it easier to follow the thread.
>
> 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to