Module: WhyValidationsSuckIn96::SkippableValidation
- Defined in:
- lib/whyvalidationssuckin96/skippable_validation.rb
Overview
A mixin to handle specifying :if and :unless options to check before performing validation.
Instance Method Summary
Instance Method Details
- (Object) validate
33 34 35 |
# File 'lib/whyvalidationssuckin96/skippable_validation.rb', line 33 def validate skip if skip_validation? end |