lib/purgatory/purgatory_module.rb in purgatory-2.8.0 vs lib/purgatory/purgatory_module.rb in purgatory-2.9.0

- old
+ new

@@ -3,10 +3,10 @@ module PurgatoryModule extend ActiveSupport::Concern module ClassMethods def use_purgatory(options={}) - AttributeAccessorFields.local_attributes = options[:local_attributes] + AttributeAccessorFields.set_local_attributes_to_save(self,options[:local_attributes]) self.has_many :purgatories, as: :soul end end def purgatory!(requester = nil, options = {})