method

new

rails latest stable - Class: ActiveRecord::ConnectionAdapters::OpenTransaction

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

new(connection, parent, options = {})
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 76
      def initialize(connection, parent, options = {})
        super connection

        @parent    = parent
        @records   = []
        @finishing = false
        @joinable  = options.fetch(:joinable, true)
      end