Displaying 1 result from an estimated 1 matches for "directorymodel".
2007 Jan 26
10
Camping and DBI
Hi,
I''ve been playing around with using DBI instead of ActiveRecord ''cause
I just love to beat myself up! ;) Is this an okay way to do this, or
is there any other more creative ways?
require ''dbi''
module MyApp:Models
class DB
def self.dbh
DBI.connect(''DBI:Mysql:dbname'', ''username'',