Permalink
Browse files

Updated docs due to removal of serializer accessor

  • Loading branch information...
1 parent d28247b commit 0788d35a05bb3926500f7aa2930300144df779ac Albert Lash committed Mar 24, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 activesupport/lib/active_support/message_verifier.rb
View
6 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

0 comments on commit 0788d35

Please sign in to comment.