Class: ActiveModel::Validator
- Inherits:
-
Object
- Object
- ActiveModel::Validator
- Defined in:
- lib/forminate/client_side_validations.rb
Instance Attribute Summary collapse
-
#target_object ⇒ Object
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.
Instance Attribute Details
#target_object ⇒ Object
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 |