From c4508332c95508a77bd59e3f8851d9b9d4608e8e Mon Sep 17 00:00:00 2001 From: Vijay Dev 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') 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 ActiveRecord::Relation#explain. * Implements AR::Base.silence_auto_explain 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") -* +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