mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #3042 from splattael/patch-1
Fix typo in deprecation warning.
This commit is contained in:
commit
d5bf12aca6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module ActiveSupport
|
||||||
|
|
||||||
def initialize(secret, options = {})
|
def initialize(secret, options = {})
|
||||||
unless options.is_a?(Hash)
|
unless options.is_a?(Hash)
|
||||||
ActiveSupport::Deprecation.warn "The second parameter should be an options hash. Use :cipher => 'algorithm' to sepcify the cipher algorithm."
|
ActiveSupport::Deprecation.warn "The second parameter should be an options hash. Use :cipher => 'algorithm' to specify the cipher algorithm."
|
||||||
options = { :cipher => options }
|
options = { :cipher => options }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue