lib/active_support/base64.rb in activesupport-3.2.0 vs lib/active_support/base64.rb in activesupport-3.2.1
- old
+ new
@@ -38,10 +38,10 @@
end
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)
ActiveSupport::Deprecation.warn "ActiveSupport::Base64.encode64s " \
"is deprecated. Use Base64.strict_encode64 instead", caller