lib/phillumeny/active_model/validate_presence_of_any.rb
# Store the initial values of our subject before we start messing around with it
#
# @api private
#
# @return [void]
Store the initial values of our subject before we start messing around with it
Store the initial values of our subject before we start messing around with it
def store_initial_values
        attributes.each do |attribute|
          next if attribute_values.key?(attribute)
          attribute_values[attribute] = subject.send(attribute)
        end
      end
def store_initial_values attributes . each do | attribute | next if attribute_values . key? ( attribute ) attribute_values [ attribute ] = subject . send ( attribute ) end end
Store the initial values of our subject before we start messing around with it
Store the initial values of our subject before we start messing around with it
None
void
api
None