model - Rails <top (required)>: uninitialized constant -
i have model called class app::basemodel file called base_model.rb
then have message.rb file on first line has following:
class app::message < app::basemodel
when starting server error:
/path/to/app/message.rb:1:in `<top (required)>': uninitialized constant app::basemodel (nameerror) can me please?
cheers
for base_model.rb should => class basemodel webactivity < activerecord::base
and message.rb should => class message < activerecord::base