On 23 Apr 2009, at 18:29, [email protected] wrote:
>
>
> SO, I use the form_for @video_new, but when I view the page, the form
> action="/youtubes". Why is it doing that? Did I define "youtubes" or
> is it just pluralizing my model name? Where does it decide which
> controller to go to?

that comes from your routes.

Fred
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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