Skip to content

Instantly share code, notes, and snippets.

@zimdo
Created May 23, 2012 03:17
Show Gist options
  • Save zimdo/2773072 to your computer and use it in GitHub Desktop.
Save zimdo/2773072 to your computer and use it in GitHub Desktop.
Removing ActiveRecord from Rails
require File.expand_path('../boot', __FILE__)
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
# Auto-require default libraries and those for the current Rails environment.
Bundler.require :default, Rails.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment