class AASM::Configuration
Attributes
hide_warnings[RW]
column[RW]
for all persistence layers: which database column to use?
create_scopes[RW]
for all persistence layers: create named scopes for each state
enum[RW]
logger[RW]
Configure a logger, with default being a Logger to STDERR
namespace[RW]
namespace reader methods and constants
no_direct_assignment[RW]
forbid direct assignment in aasm_state column (in ActiveRecord
)
requires_lock[RW]
for ActiveRecord: use pessimistic locking
requires_new_transaction[RW]
for ActiveRecord: use requires_new for nested transactions?
skip_validation_on_save[RW]
for ActiveRecord: store the new state even if the model is invalid and return true
timestamps[RW]
automatically set ‘“#{state_name}_at” = ::Time.now` on state changes
use_transactions[RW]
for ActiveRecord: use transactions
whiny_persistence[RW]
for ActiveRecord: when the model is invalid, true -> raise, false -> return false
whiny_transitions[RW]
let’s cry if the transition is invalid
with_klass[RW]
allow a AASM::Base
sub-class to be used for state machine