From d3d84988674dde77236d04181b48468765ed56c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 2 Dec 2013 22:42:10 -0200 Subject: Fix typos --- railties/CHANGELOG.md | 2 +- railties/lib/rails/application.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'railties') diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 6c3090bc34..255e49356f 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -6,7 +6,7 @@ Rails.application.message_verifier.verify(message) # => 'my sensible data' - It is recommended not not use the same verifier for different things, so you can get different + It is recommended not to use the same verifier for different things, so you can get different verifiers passing the name argument. message = Rails.application.message_verifier('cookies').generate('my sensible cookie data') diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index a2744357ee..df64736e62 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -160,9 +160,9 @@ module Rails end end - # Return a message verifier object. + # Returns a message verifier object. # - # This verify can be used to generate and verify signed messages in the application. + # This verifier can be used to generate and verify signed messages in the application. # # It is recommended not to use the same verifier for different things, so you can get different # verifiers passing the +verifier_name+ argument. -- cgit v1.2.3