/ Published in: Other
Expand |
Embed | Plain Text
require 'rubygems' gem 'activerecord', '=2.1.2' require 'active_record' ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", :username => "root", :database => "db_name" ) class Account < ActiveRecord::Base end
You need to login to post a comment.
