diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-20 04:01:10 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-20 04:01:10 +0000 |
commit | d19e8f412f3cbd32842f94cba11e5c1148dfd558 (patch) | |
tree | 2e58fd5e580d1479ba6cdf3a0ff9443319dcf752 /activesupport/lib | |
parent | 324ece25e9c9fb13ce91e591d5c5fdd512a81bb0 (diff) | |
download | rails-d19e8f412f3cbd32842f94cba11e5c1148dfd558.tar.gz rails-d19e8f412f3cbd32842f94cba11e5c1148dfd558.tar.bz2 rails-d19e8f412f3cbd32842f94cba11e5c1148dfd558.zip |
Performance speedup for ActionController (closes #4174) [Stefan Kaes] Includes caching of filter chains -- be on the lookout for problems with that!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/indifferent_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb b/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb index 241506b4b8..80012aa17d 100644 --- a/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +++ b/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb @@ -21,7 +21,7 @@ class HashWithIndifferentAccess < Hash end def update(other_hash) - other_hash.each_pair {|key, value| regular_writer(convert_key(key), convert_value(value))} + other_hash.each_pair { |key, value| regular_writer(convert_key(key), convert_value(value)) } self end alias_method :merge!, :update |