lib/neo4j/active_node/orm_adapter.rb in neo4j-3.0.0.rc.3 vs lib/neo4j/active_node/orm_adapter.rb in neo4j-3.0.0.rc.4
- old
+ new
@@ -71,10 +71,10 @@
(order || []).map {|clause| Hash[*clause] }
end
def extract_id!(conditions)
if id = conditions.delete(:id)
- conditions[:neo_id] = id.to_i
+ conditions[klass.id_property_name.to_sym] = id
end
end
end
end