newbie question here, I have a method that is not part of the "user" part of the rails app, but more like a monitor method that should live on a separate process from the rails process, but it need access to the rails env and dbs, should that method be a rake task or just a method in a module in the /lib folder or something else ? are there any conventions for this ?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Using module methods in Rake task& model? | 3 | 303 | May 4, 2009 | |
rake task error | 4 | 123 | April 7, 2011 | |
Schedule job in rails | 14 | 89 | February 15, 2009 | |
Where would this type of code go? | 2 | 147 | August 27, 2006 | |
background processes, on a per request basis | 0 | 113 | February 12, 2008 |