aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2006-04-30 02:40:06 +0000
committerMarcel Molina <marcel@vernix.org>2006-04-30 02:40:06 +0000
commit68ab9087166bde9e6083f660c8735947130b0866 (patch)
tree882368b57da6ac37b6654c53993934eec1504f39 /activerecord/lib
parent3fec943aca9ab73bf00d5dffa3f73452f33bab88 (diff)
downloadrails-68ab9087166bde9e6083f660c8735947130b0866.tar.gz
rails-68ab9087166bde9e6083f660c8735947130b0866.tar.bz2
rails-68ab9087166bde9e6083f660c8735947130b0866.zip
Ensure that StringIO is always available for the Schema dumper. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb
index 718669a1b7..6c896f7bed 100644
--- a/activerecord/lib/active_record/schema_dumper.rb
+++ b/activerecord/lib/active_record/schema_dumper.rb
@@ -1,3 +1,5 @@
+require 'stringio'
+
module ActiveRecord
# This class is used to dump the database schema for some connection to some
# output format (i.e., ActiveRecord::Schema).