Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require 'active_record'
- ActiveRecord::Base.establish_connection(
- :adapter => 'mysql',
- :database => 'database',
- :username => 'username',
- :password => 'password',
- :host => 'localhost'
- :encoding => "utf8"
- )
- class User < ActiveRecord::Base
- end
Add Comment
Please, Sign In to add comment