From: Zach Thompson Date: 2005-04-02T09:48:03+09:00 Subject: Re: Testing ActiveRecord in console Yes, script/console is great if you have a Rails environment set up, and there's also: http://wiki.rubyonrails.com/rails/show/HowToUseActiveRecordOutsideRails and check out: http://api.rubyonrails.com/ Scroll down to the "ActiveRecord::ConnectionAdapters" in the Classes frame to find connection parameters for your database. On Apr 1, 2005, at 3:51 PM, threeve.org wrote: > On Apr 1, 2005 5:39 PM, JZ wrote: >> How to import and test ActiveRecord using Interactive Ruby Shell? It >> is not >> clear how it shoud be used and I do not know how even to start, eg. >> how >> import module, bind to database etc. (I am used to pythonic >> interpreter >> console.) Is it possible to use Active Record outside of Rails? >> > > look at script/console from your rails dir. > >