diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-07-17 10:46:20 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-07-17 10:46:20 +0100 |
commit | 1a58ac60d92110cc9a83c976ac1fbd7bfd071966 (patch) | |
tree | 56d826fbc32ca6dc81759c1f0cea97be5e3983bf /railties/lib | |
parent | 74722d66d332d1d768459d8b510cc082fe3d5618 (diff) | |
download | rails-1a58ac60d92110cc9a83c976ac1fbd7bfd071966.tar.gz rails-1a58ac60d92110cc9a83c976ac1fbd7bfd071966.tar.bz2 rails-1a58ac60d92110cc9a83c976ac1fbd7bfd071966.zip |
Refactor to reduce number of loops
Only build the missing_keys array once we have detected that there
actually are missing keys by moving the check to be part of the block
that performs the path substitution.
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions