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:10:40 +0530 |
commit | ad3a129380499035174b9a6c8df7cc6df2471f38 (patch) | |
tree | a7558c3ae42eb195eeb12aeb335b619695b613d0 /railties/guides/source/3_2_release_notes.textile | |
parent | faec7acc2463eabe3d9cd7f3049c37b7ba66ad54 (diff) | |
download | rails-ad3a129380499035174b9a6c8df7cc6df2471f38.tar.gz rails-ad3a129380499035174b9a6c8df7cc6df2471f38.tar.bz2 rails-ad3a129380499035174b9a6c8df7cc6df2471f38.zip |
revising release notes [ci skip]
Diffstat (limited to 'railties/guides/source/3_2_release_notes.textile')
-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: |