Hi,

I did try it before as well, it still giving me the same error



On Mon, May 30, 2011 at 12:34 PM, Tom Meinlschmidt
<to...@meinlschmidt.com>wrote:

> > @language = Languages.new
>
> should be @language = Language.new
>
> singular. not plural
>
>
> On May 30, 2011, at 18:29 , joanne ta 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\
> >   def new
> >     @language = Languages.new
> >   end
> > end
> >
> > and it points out the problem on "new"
> > app/controllers/language_controller.rb:7:in `new'
> >
> > please help
> > thanks
> >
> > On Mon, May 30, 2011 at 11:34 AM, Thiago A Pereira <thiagoales...@me.com>
> wrote:
> > Your controller name is plural?
> >
> > TestsController ?
> >
> > I think your problem is that you not are following this name convention
> ...
> >
> > Sent from my iPhone
> >
> > On May 30, 2011, at 12:03 PM, joanne <joanne0...@gmail.com> wrote:
> >
> > > Hi, I am a new comer with Ruby on Rails
> > > and i am trying to create a controller for the model
> > >
> > > and controller is simple
> > >
> > > def new
> > >  @test = Test.new
> > > end
> > >
> > > and model is
> > > Rails gernerate model Test name:string title:string
> > >
> > > and it returns me an error:  uninitialized constant
> > > TestController::Tests
> > >
> > >
> > > Please help
> > > Thanks
> > >
> > > --
> > > 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@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.
> > >
> >
> > --
> > 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@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.
> >
> >
> >
> >
> > --
> > --------------------------------
> >
> > 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 rubyonrails-talk@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.
>
> --
>
> ===============================================================================
> Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache
>
> www.meinlschmidt.com  www.maxwellrender.cz  www.lightgems.cz
>
> ===============================================================================
>
> --
> 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@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.
>
>


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

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 rubyonrails-talk@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