diff options
-rw-r--r-- | railties/CHANGELOG.md | 2 | ||||
-rw-r--r-- | railties/lib/rails/application.rb | 4 |
2 files changed, 3 insertions, 3 deletions
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. |