Destroying not only a new controller, but also any contingent files created by a generate command

Posted . Visible to the public.

$ rails generate controller FooBars baz quux

is rolled back with:

$ rails destroy  controller FooBars baz quux
Robb Schuneman
Posted by Robb Schuneman to Ruby on Rails (2014-04-09 06:12)