How to organize a large Rails application?

I am working on a large (ERP-level) Rails project. We have 150 tables and more than 150 models. It takes a few minutes to find the model. Should we add all models under the models folder or should we put them in different subfolders? The same goes for controllers and views.

+3
source share
1 answer

See my answer to this question; with my second example, I talk about the names that can be made for controllers (and, subsequently, views).

In the case of large applications, I think it would be very nice to proxy your models and controllers.

+2
source

Source: https://habr.com/ru/post/1784436/


All Articles