I am developing my application using Rails. It has 400 or more models and some models contain more than 200 rows just for relationships, so it’s too hard handle it. Are there any ways I can handle my application in more proper and easy ways?
Share
In application that I’m working with, there are about 100 models. Few things that helped us develop it:
cases orifs to handle different types of objects (like admin/normal user) probably you should use polymorphismWise refactoring takes a lot of time, but if you drop this part of development, project maintenance will become overwhelming. Check out books about Ruby, RoR, refactoring, metaprogramming. Investing time in learning might also bring effects.