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