cards
Decks
Ruby on Rails
Sign in
Sign up
Menu
next card
Go back to all cards in this deck
back
previous card
Destroying not only a new controller, but also any contingent files created by a generate command
Posted
2014-04-09
. Visible to the public.
$ rails generate controller FooBars baz quux
is rolled back with:
$ rails destroy controller FooBars baz quux
Robb Schuneman
Say thanks
Posted by Robb Schuneman to Ruby on Rails (2014-04-09 06:12)
This website uses short-lived cookies to improve usability.
Accept
or
learn more