diff options
author | Charlie Somerville <charlie@charliesomerville.com> | 2014-05-19 01:27:50 +1000 |
---|---|---|
committer | Charlie Somerville <charlie@charliesomerville.com> | 2014-05-19 01:27:50 +1000 |
commit | 2ac1a021025ad4f5f85368b9a85dcf210e5797d6 (patch) | |
tree | 577c7e9aa54a429f8f5694110341888db94752c8 /Rakefile | |
parent | b32fdd5731aa0a6b8ed77305f78aba17a730b8e8 (diff) | |
download | rails-2ac1a021025ad4f5f85368b9a85dcf210e5797d6.tar.gz rails-2ac1a021025ad4f5f85368b9a85dcf210e5797d6.tar.bz2 rails-2ac1a021025ad4f5f85368b9a85dcf210e5797d6.zip |
Clean up JobWrappers::ResqueWrapper.perform
This is not only easier to read, but it'll also properly raise an ArgumentError rather than a NoMethodError when called with no arguments.
It also allocates 4 fewer objects per call (8 down from 12), and is about 50% faster according to a quick benchmark.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions