Design Question

Hi,

I am building an app that contains a mix of functionality that will be accessed via the browser and a range of backend processes that I envisage will be run with script\runner.

I am puzzled where to put code for the background processes - the background process touch a variety of models and do not require any views.

Any suggestions where to put these miscellaneous classes.

Cheers

James

jrm wrote:

Any suggestions where to put these miscellaneous classes.

Either put them in the lib folder, or in the model folder and don't inherit ActiveRecord::Base.

BTW that's the meaning of Model View Controller. The Model is just a bunch of objects. Some persist (in a database) and some don't.

Thanks Phlip