From 99e9630ef83c8fec8aae70467d2cd26ed91e4384 Mon Sep 17 00:00:00 2001 From: Rebecca Skinner Date: Thu, 14 Jan 2016 11:04:08 +0800 Subject: Fix typo in docs [ci skip] --- actionpack/lib/action_dispatch/request/session.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/lib/action_dispatch/request/session.rb b/actionpack/lib/action_dispatch/request/session.rb index aa8dc7cd36..42890225fa 100644 --- a/actionpack/lib/action_dispatch/request/session.rb +++ b/actionpack/lib/action_dispatch/request/session.rb @@ -148,8 +148,8 @@ module ActionDispatch @delegate.delete key.to_s 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. + # Returns value of the given key from the session, or raises +KeyError+ + # if can't find the given key and no default value is set. # Returns default value if specified. # # session.fetch(:foo) -- cgit v1.2.3