mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Copy-edit the MessageVerifier documentation [ci skip]
This commit is contained in:
parent
6061c540ac
commit
f7c7bcd9c2
1 changed files with 6 additions and 7 deletions
|
@ -71,7 +71,6 @@ module ActiveSupport
|
||||||
#
|
#
|
||||||
# incompatible_message = "test--dad7b06c94abba8d46a15fafaef56c327665d5ff"
|
# incompatible_message = "test--dad7b06c94abba8d46a15fafaef56c327665d5ff"
|
||||||
# verifier.verified(incompatible_message) # => TypeError: incompatible marshal file format
|
# verifier.verified(incompatible_message) # => TypeError: incompatible marshal file format
|
||||||
#
|
|
||||||
def verified(signed_message)
|
def verified(signed_message)
|
||||||
if valid_message?(signed_message)
|
if valid_message?(signed_message)
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue