lib/propertybase_id/generator.rb in propertybase_id-0.3.2 vs lib/propertybase_id/generator.rb in propertybase_id-0.3.3

- old
+ new

@@ -21,10 +21,10 @@ end private def pb_object_id(object) - PropertybaseId::Mappings.objects.fetch(object) do + PropertybaseId::Mappings.objects.fetch(object.to_s) do raise ArgumentError, "Object #{object.inspect} not found" end end def host_id