Flowdock
method

set_state

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: TransactionState
set_state(state) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 38
      def set_state(state)
        if !VALID_STATES.include?(state)
          raise ArgumentError, "Invalid transaction state: #{state}"
        end
        @state = state
      end
Register or log in to add new notes.