From: Hemant Bhargava Date: 2010-04-28T18:59:49+09:00 Subject: Re: uninitialized constant ActiveRecord (NameError) Xavier Noria wrote: > If that script belongs to a Rails application run it with script/runner > instead: > > script/runner script/abc.rb > > On the other hand, if you are using Active Record stand-alone then you > need to load it as any other library. O O.. yeah yeah. This is the correct way. Thanks for your time.. :) -- Posted via http://www.ruby-forum.com/.