search for: export_r

Displaying 1 result from an estimated 1 matches for "export_r".

Did you mean: exporter
2006 Apr 28
4
Accessing Rails Models/app from command line script
Hi, Can someone point me to some info on how to access Rails models / ActiveRecord classes from a Ruby command line script? Say I have a plain text file that is put into some directory by an outside process, and I want to have a Ruby script run, via a cron job, that can open and parse that data file. It would then delete all records in some lookup table in my database and load it with the data