rails/jbuilder — pull request #2 by nragaz (2011-12-06 16:06:37+00:00)
Title: Handle empty top-level arrays (return "[]").

Calling `json.array!(collection)` with an empty collection used to create JSON like `{}` instead of `[]`.