How to use ActiveRecord in a ruby script outside Rails?

Viewed 23035

I have a small ruby script in which I'd like to use ActiveRecord to easily access a database model. What is the best way to do it?

3 Answers
Related