Sha256: 2399d7d97d056bb0dbfb309754385f170f97326764c457e54ac6868fffa43c38
Contents?: true
Size: 684 Bytes
Versions: 21
Compression:
Stored size: 684 Bytes
Contents
module AASM class Configuration # for all persistence layers: which database column to use? attr_accessor :column # let's cry if the transition is invalid attr_accessor :whiny_transitions # for all persistence layers: create named scopes for each state attr_accessor :create_scopes # for ActiveRecord: don't store any new state if the model is invalid attr_accessor :skip_validation_on_save # for ActiveRecord: use requires_new for nested transactions? attr_accessor :requires_new_transaction # forbid direct assignment in aasm_state column (in ActiveRecord) attr_accessor :no_direct_assignment attr_accessor :enum end end
Version data entries
21 entries across 21 versions & 1 rubygems