Class ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
In: lib/pg_overrides.rb
Parent: AbstractAdapter

Methods

Public Instance methods

The newer versions of postgres provides the method transaction_status. original file activerecord-2.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb

[Source]

    # File lib/pg_overrides.rb, line 18
18:       def transaction_active?
19:         0
20:       end

[Validate]