Skip to content

Instantly share code, notes, and snippets.

@ml242
Forked from phlco/activerecord.rb
Created October 10, 2013 18:36
Show Gist options
  • Save ml242/6923262 to your computer and use it in GitHub Desktop.
Save ml242/6923262 to your computer and use it in GitHub Desktop.
require 'active_record'
ActiveRecord::Base.logger = Logger.new( STDOUT )
ActiveRecord::Base.establish_connection(
:adapter => "postgresql",
:host => "localhost",
:username => "philco",
:password => "",
:database => "amazon_db"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment