lib/active_support/base64.rb in activesupport-3.2.1 vs lib/active_support/base64.rb in activesupport-3.2.2.rc1
- old
+ new
@@ -1,8 +1,10 @@
+require 'active_support/deprecation'
+
begin
require 'base64'
rescue LoadError
- # The Base64 module isn't available in ealier versions of Ruby 1.9.
+ # The Base64 module isn't available in earlier versions of Ruby 1.9.
module Base64
# Encodes a string to its base 64 representation. Each 60 characters of
# output is separated by a newline character.
#
# ActiveSupport::Base64.encode64("Original unencoded string")