mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #3048 from masterkain/patch-2
Fix typo in deprecation notice
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user