Being a bit of a neat freek, I would like to organize the models in my
Rails app into modules. I have created the directory structure as
And my model class code is:
How do I include this model in my controllers without referencing it as
“Module1::Mymodel”? Also, how do I reference it in other model classes
(e.g. in a belongs_to statement)?