1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Missing destroy command

This commit is contained in:
Akira Matsuda & Yukiko Kawamoto 2013-09-13 18:16:02 +09:00 committed by Akira Matsuda
parent defdeed2fc
commit 1eebfc9f66

View file

@ -51,6 +51,10 @@ EOT
generate_or_destroy(:generate)
end
def destroy
generate_or_destroy(:destroy)
end
def console
require_command!("console")
options = Rails::Console.parse_arguments(argv)