Class: DynamicValidations::ValidationRule

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/dynamic_validations/validation_rule.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



9
10
11
# File 'lib/dynamic_validations/validation_rule.rb', line 9

def to_s
  "#{self.attribute} - #{self.validation}"
end