aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-04 23:17:18 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-04 23:17:18 -0200
commitf56e51d4e43f257b85cff3e9479564890f1317f8 (patch)
tree779da00d5586b082b59ff82c2c271cdc98fcdf22
parent48c703b055a6b287100f3c0fbc18f1294d7c7af4 (diff)
downloadrails-f56e51d4e43f257b85cff3e9479564890f1317f8.tar.gz
rails-f56e51d4e43f257b85cff3e9479564890f1317f8.tar.bz2
rails-f56e51d4e43f257b85cff3e9479564890f1317f8.zip
Hightlight message verifier in the release notes [ci skip]
-rw-r--r--guides/source/4_1_release_notes.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/guides/source/4_1_release_notes.md b/guides/source/4_1_release_notes.md
index 99d2a8c117..b3cd560de0 100644
--- a/guides/source/4_1_release_notes.md
+++ b/guides/source/4_1_release_notes.md
@@ -124,6 +124,17 @@ See
[active_record/enum.rb](https://github.com/rails/rails/blob/4-1-stable/activerecord/lib/active_record/enum.rb#L2-L42)
for a detailed write up.
+### Application message verifier.
+
+Create a message verifier that can be used to generate and verify signed
+messages in the application.
+
+```ruby
+message = Rails.application.message_verifier('salt').generate('my sensible data')
+Rails.application.message_verifier('salt').verify(message)
+# => 'my sensible data'
+```
+
Documentation
-------------