lib/aasm/persistence/active_record_persistence.rb
# Returns the current aasm_state of the object.  Respects reload and
# any changes made to the aasm_state field directly
#
# Internally just calls <tt>aasm_read_state</tt>
#
#   foo = Foo.find(1)
#   foo.aasm_current_state # => :pending
#   foo.aasm_state = "opened"
#   foo.aasm_current_state # => :opened
#   foo.close # => calls aasm_write_state_without_persistence
#   foo.aasm_current_state # => :closed
#   foo.reload
#   foo.aasm_current_state # => :pending
#
Returns the current aasm_state of the object.  Respects reload and
any changes made to the aasm_state field directly

Internally just calls aasm_read_state


Returns the current aasm_state of the object . Respects reload and any changes made to the aasm_state field directly Internally just calls aasm_read_state
def aasm_fire_event(name, options, *args)
          transaction do
            super
          end
        end
def aasm_fire_event ( name , options , * args ) transaction do super end end
Returns the current aasm_state of the object.
Returns the current aasm_state of the object .
name
options
args