Method: Neo4j::ActiveNode::Query::QueryProxyMethods#find
- Defined in:
- lib/neo4j/active_node/query/query_proxy_methods.rb
#find(*args) ⇒ Object
Give ability to call ‘#find` on associations to get a scoped find Doesn’t pass through via ‘method_missing` because Enumerable has a `#find` method
20 21 22 |
# File 'lib/neo4j/active_node/query/query_proxy_methods.rb', line 20 def find(*args) scoping { @model.find(*args) } end |