This is the first time I want to use ActiveRecord outside Rails. This is
my (simplified) code:
:adapter => ‘mysql’,
:host => ‘localhost’,
:username => ‘username’,
:password => ‘password’,
:database => ‘database’)
class Rate < ActiveRecord::Base
r = Rate.find(:first)
r.value = new_rate
This works fine, but I was wondering if I have to close any database
connections at the end of my script (by using remove_connection??)? Or
is does AR take care of this automatically?
Thanks in advance.