aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-28 15:07:30 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-28 15:07:30 -0300
commit6f66e7313b67fa92f31f69a2409c3ce4cc9ffca5 (patch)
tree559ea025aa748c3a28512b9ff6c9543a079ad0c9 /activerecord
parentf5cec76ea8de1b9d076d0b1138ab8c2cabc0390d (diff)
parent9fb2fdc91370c3b5d3be93feef9fc5598a770028 (diff)
downloadrails-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')
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb2
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