SammyLin/redactor-rails — pull request #33 by joemsak (2012-12-05 18:10:14+00:00)
Title: Address a bug where as_json triggered thumb, url(:thumb) on Document

When trying to get Documents as json through the `fileGetJson` option, an ArgumentError was raised because Documents don't have thumbs

In the future, this method could return URLs to icons matching the extension of the file

For now, the bug must be fixed ; )