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 warning.

This commit is contained in:
Peter Suschlik 2011-09-16 09:08:53 +03:00
parent 79c7f23376
commit c9aac2a215

View file

@ -15,7 +15,7 @@ module ActiveSupport
def initialize(secret, options = {})
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 }
end