From d9bdb61158812484aabf2a31fb943dccb7749887 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 14 Jan 2016 10:30:54 +0900 Subject: Space Oddity Converting nbsp(\u{00A0}) to the normal ASCII space(\u{0020}) [ci skip] --- actionpack/lib/action_dispatch/request/session.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_dispatch/request') diff --git a/actionpack/lib/action_dispatch/request/session.rb b/actionpack/lib/action_dispatch/request/session.rb index 9e7fcbd849..aa8dc7cd36 100644 --- a/actionpack/lib/action_dispatch/request/session.rb +++ b/actionpack/lib/action_dispatch/request/session.rb @@ -109,7 +109,7 @@ module ActionDispatch @delegate.values end - # Writes given value to given key of the session. + # Writes given value to given key of the session. def []=(key, value) load_for_write! @delegate[key.to_s] = value @@ -149,7 +149,7 @@ module ActionDispatch end # Returns value of given key from the session, or raises +KeyError+ - # if can't find given key in case of not setted dafault value. + # if can't find given key in case of not setted dafault value. # Returns default value if specified. # # session.fetch(:foo) -- cgit v1.2.3