Skip to content

Commit

Permalink
Fix typo in deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
masterkain committed Sep 16, 2011
1 parent d5bf12a commit b0ae34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/message_verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class InvalidSignature < StandardError; end

def initialize(secret, options = {})
unless options.is_a?(Hash)
ActiveSupport::Deprecation.warn "The second parameter should be an options hash. Use :digest => 'algorithm' to sepcify the digest algorithm."
ActiveSupport::Deprecation.warn "The second parameter should be an options hash. Use :digest => 'algorithm' to specify the digest algorithm."
options = { :digest => options }
end

Expand Down

0 comments on commit b0ae34a

Please sign in to comment.