diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-24 11:53:34 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-24 11:53:34 -0700 |
commit | 2cc3648f86435550185a48e125d56e125911c1f3 (patch) | |
tree | e21d9c1d93bec36f547a4ee977f5f0bede22a023 | |
parent | b78f77f8cf0b4257339df6e58c16b206c81318fb (diff) | |
parent | 0788d35a05bb3926500f7aa2930300144df779ac (diff) | |
download | rails-2cc3648f86435550185a48e125d56e125911c1f3.tar.gz rails-2cc3648f86435550185a48e125d56e125911c1f3.tar.bz2 rails-2cc3648f86435550185a48e125d56e125911c1f3.zip |
Merge pull request #9905 from docunext/master
ActiveSupport::MessageVerifier: Updated docs due to removal of serializer accessor
-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 |