public
Created

ActiveRecord cannot be eager loaded without ActionDispatch

  • Download Gist
Gemfile
Ruby
1 2 3
source :rubygems
 
gem 'activerecord', :require => 'active_record'
README.md
Markdown

Run this and watch as it explodes:

bundle install
bundle exec ruby test.rb
test.rb
Ruby
1 2 3 4 5
require 'rubygems'
require 'bundler'
Bundler.require :default
 
ActiveSupport::Autoload.eager_autoload!

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.