Module: SequenceGenerator::ActsAsSequenced
- Extended by:
- ActiveSupport::Concern
- Included in:
- Sequence
- Defined in:
- app/models/concerns/act_as_sequenced.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- DEFAULT_OPTIONS =
{ purpose: 'Sequence', sequential_id: 0, start_at: 1 }.freeze
- ColumnWithSamePurposeExists =
Class.new(StandardError)
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
15 16 17 |
# File 'app/models/concerns/act_as_sequenced.rb', line 15 def self.included(base) base.extend ClassMethods end |