josevalim/active_model_serializers — pull request #117 by joliss (2012-08-17 20:02:04+00:00)
Title: Make schema not crash on computed attributes

We do not know the type for computed attributes, so we pick nil.

Perhaps at some point we might add a :type option for attributes (or
not), but in any case it's important to not crash when there are
computed attributes.