Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Dec 5, 2013
1 parent d16e224 commit d3d8498
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion railties/CHANGELOG.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Rails.application.message_verifier.verify(message) Rails.application.message_verifier.verify(message)
# => 'my sensible data' # => '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. verifiers passing the name argument.


message = Rails.application.message_verifier('cookies').generate('my sensible cookie data') message = Rails.application.message_verifier('cookies').generate('my sensible cookie data')
Expand Down
4 changes: 2 additions & 2 deletions railties/lib/rails/application.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ def key_generator
end end
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 # It is recommended not to use the same verifier for different things, so you can get different
# verifiers passing the +verifier_name+ argument. # verifiers passing the +verifier_name+ argument.
Expand Down

0 comments on commit d3d8498

Please sign in to comment.