aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema_dumper.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-24 17:50:07 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-24 17:50:07 +0000
commit66820a4aa70889a02f48eb860727daa31639aab3 (patch)
treeac53545c28d45e612ac9e8f3eac47e60a98732d1 /activerecord/lib/active_record/schema_dumper.rb
parent6d336753b9535617de105ef5494ffc3199d079b3 (diff)
downloadrails-66820a4aa70889a02f48eb860727daa31639aab3.tar.gz
rails-66820a4aa70889a02f48eb860727daa31639aab3.tar.bz2
rails-66820a4aa70889a02f48eb860727daa31639aab3.zip
Just include activerecord/schema with AR so it doesnt need to be dumped
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/schema_dumper.rb')
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb
index e086c17841..ec5e2f12d5 100644
--- a/activerecord/lib/active_record/schema_dumper.rb
+++ b/activerecord/lib/active_record/schema_dumper.rb
@@ -1,5 +1,4 @@
module ActiveRecord
-
# This class is used to dump the database schema for some connection to some
# output format (i.e., ActiveRecord::Schema).
class SchemaDumper
@@ -33,10 +32,7 @@ module ActiveRecord
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
-require 'active_record/schema'
-
ActiveRecord::Schema.define(#{define_params}) do
-
HEADER
end
@@ -83,5 +79,4 @@ HEADER
stream.puts unless indexes.empty?
end
end
-
-end
+end \ No newline at end of file