Skip to content

Instantly share code, notes, and snippets.

@talalc
Forked from phlco/activerecord.rb
Last active August 29, 2015 13:57
Show Gist options
  • Save talalc/9686021 to your computer and use it in GitHub Desktop.
Save talalc/9686021 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 => "talal",
:database => "db"
)
# class < ActiveRecord::Base
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment