vendredi 25 décembre 2015

Where do I put my class files which are neither model, view nor controller?

I have a rails application. For one of my models, I created a specific class which will probably never be used anywhere else than in this specific model.

Where should I place the file corresponding to this class and its corresponding test file?

I currently placed it in /lib but since it will never be used elsewhere, I don't think that this is the right place for it.

Aucun commentaire:

Enregistrer un commentaire