From 79c96cffcd53da00013d7b913c1e707fbb809afa Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Thu, 24 Jul 2014 12:26:57 -0400 Subject: [PATCH] fix feed JSON rendering --- app/models/feed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/feed.rb b/app/models/feed.rb index a8ea48e..589438a 100644 --- a/app/models/feed.rb +++ b/app/models/feed.rb @@ -119,7 +119,7 @@ class Feed < ActiveRecord::Base # custom json output def as_json(options = {}) - super(Feed.public_options) + super(Feed.public_options.merge(options)) end # check if a field value is a number