Class: ActiveModel::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/forminate/client_side_validations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#target_objectObject

To make use of validators present on associated object, we need to be able to specify the original object that a given validator came from.



5
6
7
# File 'lib/forminate/client_side_validations.rb', line 5

def target_object
  @target_object
end