diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-02-28 08:59:07 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-28 08:59:07 +0100 |
commit | 36abb550e730ad8348e245887a7f89ea74501c8b (patch) | |
tree | 774fbdc1370669505a701de6c26347345e914cd9 | |
parent | cf278a6effcb86437b33008f16c59f5a4ba8878e (diff) | |
download | rails-36abb550e730ad8348e245887a7f89ea74501c8b.tar.gz rails-36abb550e730ad8348e245887a7f89ea74501c8b.tar.bz2 rails-36abb550e730ad8348e245887a7f89ea74501c8b.zip |
update docs, change_table does not use TableDefinition.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb index f758e19a4f..42206de8fc 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb @@ -44,8 +44,8 @@ module ActiveRecord # Represents the schema of an SQL table in an abstract way. This class # provides methods for manipulating the schema representation. # - # Inside migration files, the +t+ object in +create_table+ and - # +change_table+ is actually of this type: + # Inside migration files, the +t+ object in +create_table+ + # is actually of this type: # # class SomeMigration < ActiveRecord::Migration # def up @@ -489,7 +489,7 @@ module ActiveRecord args.each do |name| @base.add_column(@table_name, name, column_type, options) end - end + end end private |