aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorPeter Suschlik <peter-gavatar@suschlik.de>2011-09-16 09:08:53 +0300
committerPeter Suschlik <peter-gavatar@suschlik.de>2011-09-16 09:08:53 +0300
commitc9aac2a215d46d25556a6a0eaae1b9f85231a6b4 (patch)
tree62dfc4beacb958ac7279f6207f727409dbf6ec8e /activesupport
parent79c7f2337645bade3a80271d76acc8f141d7c4d5 (diff)
downloadrails-c9aac2a215d46d25556a6a0eaae1b9f85231a6b4.tar.gz
rails-c9aac2a215d46d25556a6a0eaae1b9f85231a6b4.tar.bz2
rails-c9aac2a215d46d25556a6a0eaae1b9f85231a6b4.zip
Fix typo in deprecation warning.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/message_encryptor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/message_encryptor.rb b/activesupport/lib/active_support/message_encryptor.rb
index 7637cfe2b0..e14386a85d 100644
--- a/activesupport/lib/active_support/message_encryptor.rb
+++ b/activesupport/lib/active_support/message_encryptor.rb
@@ -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