Module: ArchivalRecordCore::ArchivalRecord
- Defined in:
- lib/archival_record_core/archival_record.rb,
lib/archival_record_core/association_operation/base.rb,
lib/archival_record_core/association_operation/archive.rb,
lib/archival_record_core/association_operation/unarchive.rb
Overview
Primary holding module for defining our custom errors and the method installer that gets added to ApplicationRecord
Defined Under Namespace
Modules: ActMethods, AssociationOperation, InstanceMethods
Constant Summary collapse
- MissingArchivalColumnError =
Class.new(ActiveRecord::ActiveRecordError)
- CouldNotArchiveError =
Class.new(ActiveRecord::ActiveRecordError)
- CouldNotUnarchiveError =
Class.new(ActiveRecord::ActiveRecordError)
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
19 20 21 22 |
# File 'lib/archival_record_core/archival_record.rb', line 19 def self.included(base) super base.extend ActMethods end |