def remember_validation_metadata(validation_type, *attr_names)
        configuration = attr_names.last.is_a?(::Hash) ? attr_names.pop : {}
        self.validations ||= []
        attr_names.flatten.each do |attr_name|
          self.validations << ::ActiveRecord::Reflection::MacroReflection.new(validation_type, attr_name.to_sym, configuration, self)
        end
      end
def remember_validation_metadata(validation_type, *attr_names)
        configuration = attr_names.last.is_a?(::Hash) ? attr_names.pop : {}
        self.validations ||= []
        attr_names.flatten.each do |attr_name|
          self.validations << ::ActiveRecord::Reflection::MacroReflection.new(validation_type, attr_name.to_sym, configuration, self)
        end
      end
Store validation info for easy and fast access.