Rails does not support const_defined? in development mode;
Use const_get instead, and rescue NameError
Merge pull request #615 from tpitale/fix-serializer-lookup

Rails does not support const_defined? in development mode