Module: Statusable::HasStatuses
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/statusable/has_statuses.rb
Overview
Statusable::HasStatuses adds a ‘has_statuses` macro for defining common status-related methods around the passed in list of status names for the given #col_name.
Optional validations exist as well. By default, inclusion is required, but presence is not.