Module: Neo4j::ActiveNode::Validations::ClassMethods
- Defined in:
- lib/neo4j/active_node/validations.rb
Instance Method Summary collapse
Instance Method Details
#validates_uniqueness_of(*attr_names) ⇒ Object
17 18 19 |
# File 'lib/neo4j/active_node/validations.rb', line 17 def validates_uniqueness_of(*attr_names) validates_with UniquenessValidator, _merge_attributes(attr_names) end |