From 5ef46189f65040df49aa948bec743e8c75e29b6e Mon Sep 17 00:00:00 2001 From: Fujimura Daisuke 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(+) 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") +* +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 faec7acc2463eabe3d9cd7f3049c37b7ba66ad54 Mon Sep 17 00:00:00 2001 From: Simon Baird Date: Thu, 19 Jan 2012 17:33:29 +1000 Subject: Fix small typo in mail_to docs in url_helper.rb --- actionpack/lib/action_view/helpers/url_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index ebd1f280a8..6f82b90ece 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -476,7 +476,7 @@ module ActionView # string given as the value. # * :subject - Preset the subject line of the email. # * :body - Preset the body of the email. - # * :cc - Carbon Copy addition recipients on the email. + # * :cc - Carbon Copy additional recipients on the email. # * :bcc - Blind Carbon Copy additional recipients on the email. # # ==== Examples -- cgit v1.2.3 From ad3a129380499035174b9a6c8df7cc6df2471f38 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(-) 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