Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typos

  • Loading branch information...
commit d3d84988674dde77236d04181b48468765ed56c8 1 parent d16e224
@rafaelfranca rafaelfranca authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  railties/CHANGELOG.md
  2. +2 −2 railties/lib/rails/application.rb
View
2  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')
View
4 railties/lib/rails/application.rb
@@ -160,9 +160,9 @@ def key_generator
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.
Please sign in to comment.
Something went wrong with that request. Please try again.