Permalink
Browse files

Merge pull request #24 from aishfenton/patch-1

Fixes "NoMethodError: undefined method `join' for #<Set..." error
  • Loading branch information...
2 parents 2c7f33e + 51db790 commit 649ebd260783729d86cd1bfdb13996b2318b1f41 @andreasronge andreasronge committed Feb 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/neo4j-core/property/property.rb
@@ -88,7 +88,7 @@ def valid_property?(value)
# @param [String, Symbol] key of the property to set
# @param [String,Fixnum,Float,true,false, Array] value to set
def []=(key, value)
- raise "Not valid Neo4j Property value #{value.class}, valid: #{VALID_PROPERTY_VALUE_CLASSES.join(', ')}" unless valid_property?(value)
+ raise "Not valid Neo4j Property value #{value.class}, valid: #{VALID_PROPERTY_VALUE_CLASSES.to_a.join(', ')}" unless valid_property?(value)
k = key.to_s
if value.nil?
@@ -115,4 +115,4 @@ def []=(key, value)
end
end
-end
+end

0 comments on commit 649ebd2

Please sign in to comment.