rails-api/rails-api — pull request #75 by ace (2013-03-18 19:25:03+00:00)
Title: Removed new action from templates and tests

Since the new action is not generated in the routes file, tests in a new application with a scaffold generated controller fail. There is a test looking for the new action and no route matches. Removed that test.

Also, if there is no new route when scaffolding, there's no need to generate it in the controller. Removed the new method from the scaffold controller template.

Finally, remove the rails-api (now) failing test checking that a generated controller should have the new action.