diff options
author | Albert Lash <albert.lash@docunext.com> | 2013-03-24 15:46:46 -0300 |
---|---|---|
committer | Albert Lash <albert.lash@docunext.com> | 2013-03-24 15:46:46 -0300 |
commit | 0788d35a05bb3926500f7aa2930300144df779ac (patch) | |
tree | 2106c69bcbd7252a5a9c11d088ed2b576b0e1cde /activesupport | |
parent | d28247bf567e16e63bb770003f8b97b72d5668fa (diff) | |
download | rails-0788d35a05bb3926500f7aa2930300144df779ac.tar.gz rails-0788d35a05bb3926500f7aa2930300144df779ac.tar.bz2 rails-0788d35a05bb3926500f7aa2930300144df779ac.zip |
Updated docs due to removal of serializer accessor
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/message_verifier.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb index a87383fe99..e0cd92ae3c 100644 --- a/activesupport/lib/active_support/message_verifier.rb +++ b/activesupport/lib/active_support/message_verifier.rb @@ -19,10 +19,10 @@ module ActiveSupport # end # # By default it uses Marshal to serialize the message. If you want to use - # another serialization method, you can set the serializer attribute to - # something that responds to dump and load, e.g.: + # another serialization method, you can set the serializer in the options + # hash upon initialization: # - # @verifier.serializer = YAML + # @verifier = ActiveSupport::MessageVerifier.new('s3Krit', serializer: YAML) class MessageVerifier class InvalidSignature < StandardError; end |