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, options = {})
    return valid?(context) if options[:validate] != false
    true
end