From e7d4e4308b5859409e34414011047c777bf29ee9 Mon Sep 17 00:00:00 2001 From: nov Date: Fri, 22 Aug 2014 16:52:39 +0900 Subject: [PATCH] FB fixed unexpected format of "summary" bug https://developers.facebook.com/bugs/718373648210494 --- lib/fb_graph2/collection.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/fb_graph2/collection.rb b/lib/fb_graph2/collection.rb index 0a630f0..011c760 100644 --- a/lib/fb_graph2/collection.rb +++ b/lib/fb_graph2/collection.rb @@ -34,8 +34,6 @@ module FbGraph2 end def summarize(summary) - # NOTE: notifications edge returns "summary" as a blank Array. - summary = Hash(summary) self.order = summary.try(:[], :order) self.total_count = summary.try(:[], :total_count) end