We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ab5729 + 3c975d8 commit 7a6ece3Copy full SHA for 7a6ece3
activesupport/lib/active_support/message_verifier.rb
@@ -68,8 +68,8 @@ module ActiveSupport
68
# return the original value. But messages can be set to expire at a given
69
# time with +:expires_in+ or +:expires_at+.
70
#
71
- # @verifier.generate(parcel, expires_in: 1.month)
72
- # @verifier.generate(doowad, expires_at: Time.now.end_of_year)
+ # @verifier.generate("parcel", expires_in: 1.month)
+ # @verifier.generate("doowad", expires_at: Time.now.end_of_year)
73
74
# Then the messages can be verified and returned up to the expire time.
75
# Thereafter, the +verified+ method returns +nil+ while +verify+ raises
0 commit comments