Where is the best place for additional model functionality?

try to keep your models and repo separated and if you want to share some functionality between models simply use helper. You can create a model_helper or even new directory in helpers if you have large number of models and use proper helpers by their functionality.

In my opinion if you need to do something with repo and model and it’s gonna be shared by other models as well, it’s helper for the controller. Don’t you think? :wink:

1 Like