From: Luke Kanies Date: 2007-08-02T04:51:53+09:00 Subject: Re: Railless ActiveRecord On Jul 31, 2007, at 9:37 PM, Ari Brown wrote: > Hey all. More ActiveRecord trouble. > > So I have my ActiveRecord connection. All is good. I am connecting > to an SQLite3 database, which is working out pretty well for me. I > think. FWIW, I'm also using ActiveRecord outside of Rails, it might help to look through my examples, including how I handle my migrations: https://reductivelabs.com/trac/puppet/browser/trunk/lib/puppet/rails.rb https://reductivelabs.com/trac/puppet/browser/trunk/lib/puppet/rails Note that my usage of ActiveRecord seems to spawn a new connection on every request, which I can't seem to fix. -- If computers get too powerful, we can organize them into a committee -- that will do them in. -- Bradley's Bromide --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com