Topic: Ruby script (seperate to my Rails project) to use my Rails Models?
I have a script which needs to read in a CSV file, then manipulate some data in my database. This only has to happen once of. About once/twice a year.
So I have created the Ruby script, placing it in a directory (/scripts) inside my Rails project's root directory, but it can't find my Models.
I suspect I have to "require" something at the top of the script or something? Any help would be appreciated.
Thank You