Method: CouchbaseOrm::Persistence#perform_validations
- Defined in:
- lib/couchbase-orm/persistence.rb
#perform_validations(context, options = {}) ⇒ Object
277 278 279 280 |
# File 'lib/couchbase-orm/persistence.rb', line 277 def perform_validations(context, = {}) return valid?(context) if [:validate] != false true end |