aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-07-17 10:46:20 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2013-07-17 10:46:20 +0100
commit1a58ac60d92110cc9a83c976ac1fbd7bfd071966 (patch)
tree56d826fbc32ca6dc81759c1f0cea97be5e3983bf /activesupport/lib/active_support/core_ext
parent74722d66d332d1d768459d8b510cc082fe3d5618 (diff)
downloadrails-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 'activesupport/lib/active_support/core_ext')
0 files changed, 0 insertions, 0 deletions