Where to put code like modules?

pcasaretto Posted by pcasaretto on September 27, 2011

Hey,

The other day my coworker created a module to wrap different Cron tasks, inside the models folder. I think it should be inside /lib because its "not really a model" (from my perspective at least). What do you think?

Answers

naive_dev Answered by naive_dev on October 01, 2011

you are right - it should be in lib

so, what is model folder for? only activerecord entities?
other logic classes should be at lib folder?

Posted by pedro.bachiega on 2011-10-04T14:46:05Z
Fork me on GitHub