1
0
Fork 0
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:
Rafael Mendonça França 2014-12-04 14:09:47 -02:00
parent 6061c540ac
commit f7c7bcd9c2

View file

@ -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