1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in deprecation notice

This commit is contained in:
Claudio Poli 2011-09-16 19:54:48 +03:00
parent d5bf12aca6
commit b0ae34ad72

View file

@ -28,7 +28,7 @@ module ActiveSupport
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