Skip to content

Commit

Permalink
Fix typo in deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
splattael committed Sep 16, 2011
1 parent 79c7f23 commit c9aac2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/message_encryptor.rb
Expand Up @@ -15,7 +15,7 @@ class InvalidMessage < StandardError; end

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

Expand Down

0 comments on commit c9aac2a

Please sign in to comment.