Skip to content

Instantly share code, notes, and snippets.

@guilleiguaran
Created January 22, 2015 21:16
Show Gist options
  • Save guilleiguaran/9fbe0bb5227bbf0ced0d to your computer and use it in GitHub Desktop.
Save guilleiguaran/9fbe0bb5227bbf0ced0d to your computer and use it in GitHub Desktop.
require 'active_record'
require 'logger'
ActiveRecord::Base.establish_connection(ENV["DATABASE_URL"])
ActiveRecord::Base.logger = Logger.new(STDOUT)
# Models
require_relative 'models/user'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment