Please sign in to comment.
In 1efd882, ConnectionAdapters was put under eager_autoload. Due to t…
…he requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user.
- Loading branch information...
Showing with 26 additions and 14 deletions.