Module: ActsAsStatused
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/acts_as_statused.rb
Overview
ActsAsStatused This is kind of like a state machine, but the statuses only go forward.
Initialize with a set of statuses like [:submitted, :approved, :declined]. Creates the following: scope :approved approved?, was_approved?, approved_at, approved_by, approved!, unapproved!
Defined Under Namespace
Modules: Base, ClassMethods