lib/fb_graph/node.rb in fb_graph-2.2.6 vs lib/fb_graph/node.rb in fb_graph-2.3.0

- old
+ new

@@ -84,11 +84,10 @@ end def cache_collections(attributes, *connections) if (attributes.keys - [:access_token]).present? connections.each do |connection| - attribute_key, connection = connection.to_a.flatten if connection.is_a?(Hash) - @cached_collections[connection] = attributes[attribute_key || connection] + @cached_collections[connection] = attributes[connection] end end end alias_method :cache_collection, :cache_collections