to use Active Record Outside Rails - information about how to write a
standalone script that accesses a database. What worked for me was to
start the script by
The rest of the script was simple Ruby code. The alternative,
require File.dirname(__FILE__) + 'config/boot'
yaml_info = YAML.load_file("config/database.yml")
got pretty far, but I was not able to access any of the classes defined by