How do I render an attribute only if some condition is true?
For example, I want to render User\'s token attribute on create action.
Serializer options were merged into ActiveModel Serializers and now are available (since 0.10).