aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-02 22:42:10 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-04 22:56:48 -0200
commitd3d84988674dde77236d04181b48468765ed56c8 (patch)
treef304e6af69c6a20c1eb2eb03cf5f2ea8bfd0083a /railties
parentd16e22478d65774431486e63a89bf6d01c00e5eb (diff)
downloadrails-d3d84988674dde77236d04181b48468765ed56c8.tar.gz
rails-d3d84988674dde77236d04181b48468765ed56c8.tar.bz2
rails-d3d84988674dde77236d04181b48468765ed56c8.zip
Fix typos
Diffstat (limited to 'railties')
-rw-r--r--railties/CHANGELOG.md2
-rw-r--r--railties/lib/rails/application.rb4
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.