diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-19 22:10:40 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-19 22:12:22 +0530 |
commit | c4508332c95508a77bd59e3f8851d9b9d4608e8e (patch) | |
tree | 6cb81653ca347f688b4844d9d0bd280b4e4361ec /railties/guides | |
parent | ead04eeabd44ddb59a5406c458d8ac830710bb45 (diff) | |
download | rails-c4508332c95508a77bd59e3f8851d9b9d4608e8e.tar.gz rails-c4508332c95508a77bd59e3f8851d9b9d4608e8e.tar.bz2 rails-c4508332c95508a77bd59e3f8851d9b9d4608e8e.zip |
revising release notes [ci skip]
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/3_2_release_notes.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/3_2_release_notes.textile b/railties/guides/source/3_2_release_notes.textile index 0d99c7e878..379b7472c6 100644 --- a/railties/guides/source/3_2_release_notes.textile +++ b/railties/guides/source/3_2_release_notes.textile @@ -298,6 +298,8 @@ h3. Active Record * Boolean columns with 'on' and 'ON' values are type casted to true. +* When the +timestamps+ method creates the +created_at+ and +updated_at+ columns, it makes them non-nullable by default. + * Implemented <tt>ActiveRecord::Relation#explain</tt>. * Implements <tt>AR::Base.silence_auto_explain</tt> which allows the user to selectively disable automatic EXPLAINs within a block. @@ -371,8 +373,6 @@ has_many :clients, :class_name => :Client # Note that the symbol need to be capi User.where(:first_name => "Scarlett").first_or_create!(:last_name => "Johansson") </ruby> -* +timestamps+ will add non-null constraint as default. - h4. Deprecations * Automatic closure of connections in threads is deprecated. For example the following code is deprecated: |