Re: Re: problem with submit button in rails 3

Everaldo Gomes
2011-09-21T15:35:17Z

On Wed, Sep 21, 2011 at 12:29 PM, Pab
<prabu.net88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

>
> hi
>   well i am have having contoller named ProductController
> but its asking for ProductsController
> i don''t know how to over come this problem?
>
> Hi,

rename your controller from ProductController to ProductsController. In
Rails, the convention is the plural in controller''s name.

Best Regards,
Everaldo


>
> thanks,
> -pab
>
> --
> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>