diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-05-23 17:09:35 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-05-23 17:09:35 -0700 |
commit | 8e7590c72c088e89d73d318d58e5bc3c058dea8f (patch) | |
tree | 0894a349d9d05751aab49371a597e1a1d3f40beb /actionpack/lib | |
parent | a9f22dc272ad5b7fe23b4648b825fd454ad230a3 (diff) | |
parent | 05f29ca2c9ef9d0cd99b69a71287c6343d386409 (diff) | |
download | rails-8e7590c72c088e89d73d318d58e5bc3c058dea8f.tar.gz rails-8e7590c72c088e89d73d318d58e5bc3c058dea8f.tar.bz2 rails-8e7590c72c088e89d73d318d58e5bc3c058dea8f.zip |
Merge pull request #1241 from smartinez87/extra-space
Remove extra white-space on exception message.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/cookies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index 20e958c767..02a4a1c440 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -305,7 +305,7 @@ module ActionDispatch if secret.length < SECRET_MIN_LENGTH raise ArgumentError, "Secret should be something secure, " + - "like \"#{SecureRandom.hex(16)}\". The value you " + + "like \"#{SecureRandom.hex(16)}\". The value you " + "provided, \"#{secret}\", is shorter than the minimum length " + "of #{SECRET_MIN_LENGTH} characters" end |