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:
parent
defdeed2fc
commit
1eebfc9f66
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ EOT
|
||||||
generate_or_destroy(:generate)
|
generate_or_destroy(:generate)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def destroy
|
||||||
|
generate_or_destroy(:destroy)
|
||||||
|
end
|
||||||
|
|
||||||
def console
|
def console
|
||||||
require_command!("console")
|
require_command!("console")
|
||||||
options = Rails::Console.parse_arguments(argv)
|
options = Rails::Console.parse_arguments(argv)
|
||||||
|
|
Loading…
Reference in a new issue