Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'active_record'
- ActiveRecord::Base.establish_connection(
- :adapter => "mysql" ,
- :host => "localhost" ,
- :username => "ogredude" ,
- :password => "secret" ,
- :database => "foo"
- )
- class Widget < ActiveRecord::Base
- end
- ActiveRecord::Base.logger = Logger.new(STDOUT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement