episode-185/vet/vendor/plugins/validation_reflection/lib/validation_reflection.rb
def ignoring_subvalidations(ignore)
        save_ignore = ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation
        unless ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation
          ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation = ignore
          yield
        end
      ensure
        ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation = save_ignore
      end
# Returns an array of MacroReflection objects for all validations in the class
Returns an array of MacroReflection objects for all validations in the class
Returns an array of MacroReflection objects for all validations in the class
def ignoring_subvalidations(ignore)
        save_ignore = ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation
        unless ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation
          ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation = ignore
          yield
        end
      ensure
        ActiveRecordExtensions::ValidationReflection.in_ignored_subvalidation = save_ignore
      end
def ignoring_subvalidations ( ignore ) save_ignore = ActiveRecordExtensions :: ValidationReflection . in_ignored_subvalidation unless ActiveRecordExtensions :: ValidationReflection . in_ignored_subvalidation ActiveRecordExtensions :: ValidationReflection . in_ignored_subvalidation = ignore yield end ensure ActiveRecordExtensions :: ValidationReflection . in_ignored_subvalidation = save_ignore end
Returns an array of MacroReflection objects for all validations in the class
Returns an array of MacroReflection objects for all validations in the class
ignore