diff options
author | Jonathan Viney <jonathan.viney@gmail.com> | 2012-01-23 21:37:10 +1300 |
---|---|---|
committer | Jonathan Viney <jonathan.viney@gmail.com> | 2012-01-23 21:37:10 +1300 |
commit | 44319eff4aa6494e1eb383aa767948b20592da04 (patch) | |
tree | 2a69d8a7de053a68c20aba4c3c449e05a4f8677d /activesupport/lib | |
parent | ede01ce8b27c752de66dcb96aa9b8d3a29e61111 (diff) | |
download | rails-44319eff4aa6494e1eb383aa767948b20592da04.tar.gz rails-44319eff4aa6494e1eb383aa767948b20592da04.tar.bz2 rails-44319eff4aa6494e1eb383aa767948b20592da04.zip |
The deprecated ActiveSupport::Base64.decode64 method should call ::Base64.decode64 not ::Base64.encode64
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/base64.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/base64.rb b/activesupport/lib/active_support/base64.rb index bb4c955eea..61a4af1a87 100644 --- a/activesupport/lib/active_support/base64.rb +++ b/activesupport/lib/active_support/base64.rb @@ -40,7 +40,7 @@ module ActiveSupport def self.decode64(value) ActiveSupport::Deprecation.warn "ActiveSupport::Base64.decode64 " \ "is deprecated. Use Base64.decode64 instead", caller - ::Base64.encode64(value) + ::Base64.decode64(value) end def self.encode64s(value) |