Last active
December 25, 2015 05:19
-
-
Save fijimunkii/6923291 to your computer and use it in GitHub Desktop.
ruby: manually set up active_record
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_record' | |
ActiveRecord::Base.logger = Logger.new( STDOUT ) | |
ActiveRecord::Base.establish_connection( | |
:adapter => "postgresql", | |
:host => "localhost", | |
:username => "EDIT ME", | |
:password => "", | |
:database => "EDIT ME" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment