aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/base64.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-02-07 21:50:46 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-02-07 21:50:46 +0000
commit3335bd12c8b3fbfe33ceda4b4f2f33ef023571da (patch)
tree8e257d33eeaf92629c4c3435cee61347755245cb /activesupport/lib/active_support/core_ext/base64.rb
parentfbd7ec3c9f0b1a5327ead66e0ac11b1d1d509f70 (diff)
downloadrails-3335bd12c8b3fbfe33ceda4b4f2f33ef023571da.tar.gz
rails-3335bd12c8b3fbfe33ceda4b4f2f33ef023571da.tar.bz2
rails-3335bd12c8b3fbfe33ceda4b4f2f33ef023571da.zip
ActiveSupport::Base64.encode64s since Base64 is deprecated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/base64.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/base64.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/core_ext/base64.rb b/activesupport/lib/active_support/core_ext/base64.rb
index d8b1813851..235e2edf57 100644
--- a/activesupport/lib/active_support/core_ext/base64.rb
+++ b/activesupport/lib/active_support/core_ext/base64.rb
@@ -1,7 +1,4 @@
-require 'base64'
-
+require 'active_support/base64'
require 'active_support/core_ext/base64/encoding'
-module Base64#:nodoc:
- extend ActiveSupport::CoreExtensions::Base64::Encoding
-end
+ActiveSupport::Base64.extend ActiveSupport::CoreExtensions::Base64::Encoding