Skip to content

Instantly share code, notes, and snippets.

@penso
Created July 25, 2009 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penso/154783 to your computer and use it in GitHub Desktop.
Save penso/154783 to your computer and use it in GitHub Desktop.
require RAILS_HOME + "/config/boot"
require "active_support"
require "activerecord"
require RAILS_HOME + "/app/models/app.rb"
ActiveRecord::Base.establish_connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment