Are models available within the modules. Can I access constants stored in a model class within a model.
I tried require 'modelfilename.rb' and tried to use the constants by Model::Constant_name but its unable to get the value. Since the constants are related to the model i store them with model and I access them within the module using the model I require within my module.
Thanks in advance.