From 5ef46189f65040df49aa948bec743e8c75e29b6e Mon Sep 17 00:00:00 2001
From: Fujimura Daisuke <dfujimura@aiming-inc.com>
Date: Thu, 19 Jan 2012 12:09:46 +0900
Subject: update release note: timestamps is non-null as default

---
 railties/guides/source/3_2_release_notes.textile | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'railties/guides/source/3_2_release_notes.textile')

diff --git a/railties/guides/source/3_2_release_notes.textile b/railties/guides/source/3_2_release_notes.textile
index 8b242df179..0d99c7e878 100644
--- a/railties/guides/source/3_2_release_notes.textile
+++ b/railties/guides/source/3_2_release_notes.textile
@@ -371,6 +371,8 @@ 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:
-- 
cgit v1.2.3


From ad3a129380499035174b9a6c8df7cc6df2471f38 Mon Sep 17 00:00:00 2001
From: Vijay Dev <vijaydev.cse@gmail.com>
Date: Thu, 19 Jan 2012 22:10:40 +0530
Subject: revising release notes [ci skip]

---
 railties/guides/source/3_2_release_notes.textile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'railties/guides/source/3_2_release_notes.textile')

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:
-- 
cgit v1.2.3

