diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-03-27 17:47:44 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-03-27 17:47:44 +0530 |
commit | 41d432dd7af44c7d1fc5070abddf470dd06035a9 (patch) | |
tree | 1b2f70940b662c944cad07d447cb3d2dda61ec80 /activerecord/lib | |
parent | 900d490c0a5cb1ced345ad96a7f4169d88e2003b (diff) | |
parent | 359749ac2b4f0f7be40e1a0eca282e30983a5219 (diff) | |
download | rails-41d432dd7af44c7d1fc5070abddf470dd06035a9.tar.gz rails-41d432dd7af44c7d1fc5070abddf470dd06035a9.tar.bz2 rails-41d432dd7af44c7d1fc5070abddf470dd06035a9.zip |
Merge pull request #24328 from bogdanvlviv/patch-3
Fix description for method ActiveRecord::ConnectionAdapters::SchemaStatements#add_timestamps [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index a401310ee0..020d9bbdca 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -1051,9 +1051,9 @@ module ActiveRecord end # Adds timestamps (+created_at+ and +updated_at+) columns to +table_name+. - # Additional options (like <tt>null: false</tt>) are forwarded to #add_column. + # Additional options (like +:null+) are forwarded to #add_column. # - # add_timestamps(:suppliers, null: false) + # add_timestamps(:suppliers, null: true) # def add_timestamps(table_name, options = {}) options[:null] = false if options[:null].nil? |