[Ruby] Where do you put Rails code that normally runs from a command line?
Eric Hodel
drbrain at segment7.net
Tue May 23 11:27:17 PDT 2006
On May 23, 2006, at 10:30 AM, James Moore wrote:
> I've got some things for a Rails app that need to run from a
> command line.
> Where do you normally put that code? (Applying daily charges to
> customer
> accounts, updating records that happen after scraping another side for
> activity, and placing phone calls so far.)
I put the code in lib and create an executable in bin. I leave
script/ for Rails.
--
Eric Hodel - drbrain at segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com
More information about the Ruby
mailing list