Open pmackay opened 7 years ago
This exception is happening when I call ActiveNode::Spatial.withinDistance:
ActiveNode::Spatial.withinDistance
Neo4j::Core::CypherSession::CypherError ( Cypher error: Neo.ClientError.Statement.ParameterMissing: Expected a parameter named layer ):
I checked inside lib/neo4j/active_node/spatial.rb and the within_distance distance scope is defining the layer name with this line:
lib/neo4j/active_node/spatial.rb
within_distance
layer = model.spatial_layer.name || layer_name
So I'm not sure why the call to Neo4j::ActiveBase.current_session.within_distance would fail.
Neo4j::ActiveBase.current_session.within_distance
I am using Neo4j 3.1.4 and neo4j-spatial-0.24-neo4j-3.1.1-server-plugin.
neo4j-spatial-0.24-neo4j-3.1.1-server-plugin
@TyGuy any ideas?
This exception is happening when I call
ActiveNode::Spatial.withinDistance
:I checked inside
lib/neo4j/active_node/spatial.rb
and thewithin_distance
distance scope is defining the layer name with this line:layer = model.spatial_layer.name || layer_name
So I'm not sure why the call to
Neo4j::ActiveBase.current_session.within_distance
would fail.I am using Neo4j 3.1.4 and
neo4j-spatial-0.24-neo4j-3.1.1-server-plugin
.@TyGuy any ideas?