diff options
author | kaygee <keith.gautreaux@gmail.com> | 2010-06-16 13:07:19 -0500 |
---|---|---|
committer | kaygee <keith.gautreaux@gmail.com> | 2010-06-16 13:07:19 -0500 |
commit | 6509cebbf6e667179de11eeecbd31c2b5f77e1fb (patch) | |
tree | b64b7a8001f9a2c7b7e6b572456e068468f52dbc /activerecord/lib/active_record/schema_dumper.rb | |
parent | 9a4fc420711a7225ef0504baf97b22a3728b21a4 (diff) | |
parent | fde95048475c1ffc89978650411b2e9034ff6a35 (diff) | |
download | rails-6509cebbf6e667179de11eeecbd31c2b5f77e1fb.tar.gz rails-6509cebbf6e667179de11eeecbd31c2b5f77e1fb.tar.bz2 rails-6509cebbf6e667179de11eeecbd31c2b5f77e1fb.zip |
Merge branch 'master' of github.com:lifo/docrails
* 'master' of github.com:lifo/docrails:
Adds title to activerecord/lib/active_record/associations/*
Adds title to the rest of the files in activerecord/lib
Adds title and proper formatting to docs.
Adds title where needed.
Adds basic description and title.
Adds title and minor changes.
Diffstat (limited to 'activerecord/lib/active_record/schema_dumper.rb')
-rw-r--r-- | activerecord/lib/active_record/schema_dumper.rb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb index 71ef249ee1..a4757773d8 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -2,6 +2,8 @@ require 'stringio' require 'active_support/core_ext/big_decimal' module ActiveRecord + # = Active Record Schema Dumper + # # This class is used to dump the database schema for some connection to some # output format (i.e., ActiveRecord::Schema). class SchemaDumper #:nodoc: @@ -39,13 +41,14 @@ module ActiveRecord define_params = @version ? ":version => #{@version}" : "" stream.puts <<HEADER -# This file is auto-generated from the current state of the database. Instead of editing this file, -# please use the migrations feature of Active Record to incrementally modify your database, and -# then regenerate this schema definition. +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations feature of Active Record to +# incrementally modify your database, and then regenerate this schema definition. # -# Note that this schema.rb definition is the authoritative source for your database schema. If you need -# to create the application database on another system, you should be using db:schema:load, not running -# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations +# Note that this schema.rb definition is the authoritative source for your +# database schema. If you need to create the application database on another +# system, you should be using db:schema:load, not running all the migrations +# from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended to check this file into your version control system. |