Aa::Bb::Model.new() ? urgent pls help ......

Shouldn't 'Aa::Bb:User.new' be 'Aa::Bb::User.new'? Note second ':'
char between Bb and User.

Happy New Year!

Pokkai Dokkai wrote:

in rails 1.2.3
i created "ruby script/generator model aa/bb/User"

"app/models.aa/bb/user.rb" were created
but in controller

Aa::Bb:User.new ------>RuntimeError: ERROR C42P01 Mrelation "users"
does not exist

how to make model object ?

Not sure what you are trying to accomplish - is there a reason you
have just a plain "User" model?
Posted via http://www.ruby-forum.com/.


Pavel Lysov