From: Brian Candler Date: 2008-09-20T04:49:43+09:00 Subject: Re: Using Rails App (Models) in my Ruby script. Nick da G wrote: > Hi, All. > > I'm writing a script that's going to run on schedule to pull some info > from a db and dump it into a csv to be ftped > > And a similar script to process a csv/excel file we get from a vendor to > put in our db. > > I can use like Ruby DBI or something. > But I'd much rather use ActiveRecord. Here is the question. > > How do I let my ruby script know to include all of my rails goodies. > Like the Model's I already created? script/runner (also script/console if you want to have an IRb shell with all the rails goodies loaded) -- Posted via http://www.ruby-forum.com/.