Sha256: 4da6a01a96423a15bfaa9c847f9603eaa087a3071eeb62d5daed3a582f4c2d74
Contents?: true
Size: 380 Bytes
Versions: 54
Compression:
Stored size: 380 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) unless Array(self[val.first]).to_set == Array(val.last).to_set end super end end end end
Version data entries
54 entries across 54 versions & 1 rubygems