rails-api/active_model_serializers — pull request #615 by tpitale (2014-08-27 18:43:17+00:00)
Title: Rails does not support const_defined? in development mode

Use const_get instead, and rescue NameError