discourse/discourse — pull request #1707 by chancancode (2013-11-30 05:46:11+00:00)
Title: The Rails JSON encoder API requires `as_json` to take an optional arg

This bug is not triggered on Rails 4, but some patches to the JSON encoder in master caused this bug to surface.