/ Published in: Other
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)