diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-28 15:07:30 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-28 15:07:30 -0300 |
commit | 6f66e7313b67fa92f31f69a2409c3ce4cc9ffca5 (patch) | |
tree | 559ea025aa748c3a28512b9ff6c9543a079ad0c9 /activerecord/lib/active_record/migration | |
parent | f5cec76ea8de1b9d076d0b1138ab8c2cabc0390d (diff) | |
parent | 9fb2fdc91370c3b5d3be93feef9fc5598a770028 (diff) | |
download | rails-6f66e7313b67fa92f31f69a2409c3ce4cc9ffca5.tar.gz rails-6f66e7313b67fa92f31f69a2409c3ce4cc9ffca5.tar.bz2 rails-6f66e7313b67fa92f31f69a2409c3ce4cc9ffca5.zip |
Merge pull request #16305 from tomkadwill/documented_change_table
Added documentation for change_table
Diffstat (limited to 'activerecord/lib/active_record/migration')
-rw-r--r-- | activerecord/lib/active_record/migration/command_recorder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb index f833caaab6..36256415df 100644 --- a/activerecord/lib/active_record/migration/command_recorder.rb +++ b/activerecord/lib/active_record/migration/command_recorder.rb @@ -87,7 +87,7 @@ module ActiveRecord alias :add_belongs_to :add_reference alias :remove_belongs_to :remove_reference - def change_table(table_name, options = {}) + def change_table(table_name, options = {}) # :nodoc: yield delegate.update_table_definition(table_name, self) end |