Skip to content
Permalink
Browse files

use alias_method

  • Loading branch information...
subvertallchris committed Dec 8, 2014
1 parent 9cd87a3 commit a667b73b7d2505e9d4f2430d98992d025fe56be6
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/neo4j/active_node/query/query_proxy_methods.rb
@@ -98,7 +98,7 @@ def first_rel_to(node)
def rels_to(node)
self.match_to(node).pluck(rel_identity)
end
alias :all_rels_to, :rels_to
alias_method :all_rels_to, :rels_to

private

0 comments on commit a667b73

Please sign in to comment.
You can’t perform that action at this time.