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


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -