1

So the stroy is very simple: if I have some groups of models, very closely related to each other within a each group (and not so closely between the groups) I can organize them in modules (so that each group will have its own folder in the models directory and the tables of each group will have a common prefix).

But the question is: is that way readly the Rails way or not?

Almaron
  • 4,127
  • 6
  • 26
  • 48
  • 1
    Yes you can organize your models however you feel like – AyJay Mar 19 '12 at 13:16
  • You can try to organize in standard Rails generator way. As ``rails g model module_name/model_name [attributes]`` it automaticaly create module with nested model. – rado Jul 31 '12 at 07:50

0 Answers0