Skip to content
Commits on Aug 16, 2011
  1. @jonleighton

    In 1efd882, ConnectionAdapters was put under eager_autoload. Due to t…

    jonleighton committed
    …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.
Commits on Aug 8, 2011
  1. @jonleighton
  2. @jonleighton

    Make it the responsibility of the connection to hold onto an ARel vis…

    jonleighton committed
    …itor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
Commits on Jan 11, 2011
  1. @jonleighton @tenderlove
Something went wrong with that request. Please try again.