diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-05 22:15:30 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-05 22:17:24 +0100 |
commit | cb148c5ca1c80d51a8b43967692f18264c9a7029 (patch) | |
tree | e00c7c90f4eee5d37eccc5c0f6af57f969a2dd10 /railties/lib/rails/railtie.rb | |
parent | edc3deb9f1035811dfa6b4fedfaa18a0654c7018 (diff) | |
download | rails-cb148c5ca1c80d51a8b43967692f18264c9a7029.tar.gz rails-cb148c5ca1c80d51a8b43967692f18264c9a7029.tar.bz2 rails-cb148c5ca1c80d51a8b43967692f18264c9a7029.zip |
Replace `-> {}` with a proc.
When `parse_options_for` was called for a command that
hadn't set up any option parsing with `options_for`, the `call` method
would be sent to `-> {}`, which didn't like to be passed two arguments.
Switch to `proc {}` which can accept several arguments.
Diffstat (limited to 'railties/lib/rails/railtie.rb')
0 files changed, 0 insertions, 0 deletions