Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes "NoMethodError: undefined method `join' for #<Set..." error #24

Merged
merged 1 commit into from

2 participants

@aishfenton

Currently throws a Fixes "NoMethodError: undefined method `join' for #<Set...".

@aishfenton aishfenton Fixes "NoMethodError: undefined method `join' for #<Set..." error
Currently throws a Fixes "NoMethodError: undefined method `join' for #<Set...".
51db790
@andreasronge
Owner

Thanks a lot !

@andreasronge andreasronge merged commit 649ebd2 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 6, 2013
  1. @aishfenton

    Fixes "NoMethodError: undefined method `join' for #<Set..." error

    aishfenton authored
    Currently throws a Fixes "NoMethodError: undefined method `join' for #<Set...".
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/neo4j-core/property/property.rb
View
4 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
Something went wrong with that request. Please try again.