I did copy and paste those code. anyway, I did found the way to solve the
problem . thanks all :P

On Mon, May 30, 2011 at 12:17 PM, Colin Law <[email protected]> wrote:

> On 30 May 2011 17:29, joanne ta <[email protected]> wrote:
> > I have no idea about that. However, I am pretty sure that the name of DB
> is
> > correct
> > and my controller is like this
> > class LanguagesController < ApplicationController\
>
> There should be no \ on the end of the line.  If this is just a typing
> error in the email then it is very important that when posting code
> you should always copy and paste rather than re-typing.  If the code
> you post is not identical to that which you actually have then this
> just causes confusion.
>
> >   def new
> >     @language = Languages.new
> >   end
> > end
> > and it points out the problem on "new"
> >
> > app/controllers/language_controller.rb:7:in `new'
>
> The file name for LanguagesController should be
> languages_controller.rb (plural languages)
>
> 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 [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.
>
>


-- 
--------------------------------

Thank you,

Yen

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