NameError / active_support/dependencies

hi everyone
in my dev machine, everything works flawlessly
now when i uploaded my website on the server, it cannot acces User model
anymore. all other pages work by the way.

when i try to access User on console or by web, it shows:

NameError in UsersController#signup

uninitialized constant User

/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
const_missing' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:inconst_missing’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
const_missing' #{RAILS_ROOT}/app/controllers/users_controller.rb:168:insignup’

note: the User model is used for logingenerator (login_system) gem

i have no clue what is going on. the table Users exists in my db. ???

thanks.

ok it is solved

i dont know why but when filezilla uploaded the files, it swapped
user.rb and usertab.rb contents.

i have seen the same problem in several .rhtml files.

weird and annoying bug. i thought it was a problem with ruby/rails

The line “uninitialized constant User” is telling you that it can’t find
the
User Active Record class. Do you have the login_system gem installed on
your server? The file which contains the User class must be in your
rails
path.