instance method transaction_state

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v6.0.6

Available in: v4.2.9 v5.2.8.1 v6.0.6

Signature

transaction_state()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 237
      def transaction_state
        current_transaction.state
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb line 237 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::DatabaseStatements

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close