andreasronge/neo4j — Issue #147: NoMethodError: undefined method `or' for Goal
Author: pehrlich
Created: 2012-01-29 06:58:46+00:00
State: open

trying to run a method chain:

jruby-1.6.5 :014 > Goal.find(:id => 18).or(:id => 3)
NoMethodError: undefined method `or' for #

jruby-1.6.5 :018 > Goal.find('id: 18').or('id: 3')
NoMethodError: undefined method `or' for nil:NilClass

Haven't tested yet with and, not, between, and so on.

This should work, as documented in 9 here: http://neo4j.rubyforge.org/guides/lucene.html