Sha256: ae00130eb693aea3950d6baa7c28af798c7277f3c80186c1428ccf371ead3e6c
Contents?: true
Size: 744 Bytes
Versions: 4
Compression:
Stored size: 744 Bytes
Contents
require "acts_as_archival/version" require "expected_behavior/association_operation/base" require "expected_behavior/association_operation/archive" require "expected_behavior/association_operation/unarchive" require "expected_behavior/acts_as_archival" require "expected_behavior/acts_as_archival_active_record_methods" # This assumes a fully Rails 5 compatible set of ActiveRecord models if defined?(ApplicationRecord) ApplicationRecord.send :include, ExpectedBehavior::ActsAsArchival ApplicationRecord.send :include, ExpectedBehavior::ActsAsArchivalActiveRecordMethods else ActiveRecord::Base.send :include, ExpectedBehavior::ActsAsArchival ActiveRecord::Base.send :include, ExpectedBehavior::ActsAsArchivalActiveRecordMethods end
Version data entries
4 entries across 4 versions & 1 rubygems