Sha256: f2bf659a209556da2cee228bce521faa3696d95e2675fccd531187b0512befb3

Contents?: true

Size: 318 Bytes

Versions: 31

Compression:

Stored size: 318 Bytes

Contents

module ActiveFedora
  module AttributeMethods
    module Dirty
      extend ActiveSupport::Concern

      def set_value(*val)
        attribute = val.first
        unless [:has_model, :modified_date].include? attribute
          attribute_will_change!(attribute)
        end
        super
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
active-fedora-9.0.8 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.4.2 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.4.1 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.4.0 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.3.0 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.2.1 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.2.0 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.2.0.rc2 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.2.0.rc1 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.1.2 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.1.1 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.1.0 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.1.0.rc1 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.6 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.5 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.4 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.3 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.2 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.1 lib/active_fedora/attribute_methods/dirty.rb
active-fedora-9.0.0 lib/active_fedora/attribute_methods/dirty.rb