How to decide to place functions in generatoras a script or rake(or thortask?
Some examples:
In thinking-sphinx, rake ts:startstart the daemon sphinx. But in delayed_job, the scipt/delayed_job startdaemon will launch. More or less the same functionality (apparently), but different approaches.
Are there obvious reasons for choosing between the two, that is, why was script/generate model, say, chosenrake generate:model
source
share