diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-20 16:02:39 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-20 16:02:39 +0100 |
commit | 5aea0952e7cb445e614652e3cd9aba71a836eed0 (patch) | |
tree | 531d01b0f6aa2ec860c31f7f71b77200ac21202a /railties/lib/rails/generators.rb | |
parent | e6c808e354cdc2a8d9274caa6668fdfc145a255d (diff) | |
download | rails-5aea0952e7cb445e614652e3cd9aba71a836eed0.tar.gz rails-5aea0952e7cb445e614652e3cd9aba71a836eed0.tar.bz2 rails-5aea0952e7cb445e614652e3cd9aba71a836eed0.zip |
Pass `rails runner` args onto file again.
When making the new command insfrastructure I had missed that
`bin/rails runner some_file.rb some args` would pass the extra
args onto the file in `ARGV`.
Now fixed by allowing the command to take extra args again, and
make sure to remove the file name from `ARGV`.
Diffstat (limited to 'railties/lib/rails/generators.rb')
0 files changed, 0 insertions, 0 deletions