rails-api/active_model_serializers — pull request #445 by todd (2013-11-05 01:34:06+00:00)
Title: Fixed Rails 4 Controller Scaffold Generator.

Rails 4 scaffold will now generate controller code that supports JSON responses. Based heavily off of the controller scaffold override in jbuilder.