aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-25 18:43:32 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-25 18:43:32 +0200
commitd708b5cc50fe36fcbab95b3558f9c6807b4d1d98 (patch)
tree8ea074e51574a173b2016677e4c7c28f3dee8fb4 /guides
parent5706d290b0a2501a713fadfb76d9e45c24d26e6a (diff)
downloadrails-d708b5cc50fe36fcbab95b3558f9c6807b4d1d98.tar.gz
rails-d708b5cc50fe36fcbab95b3558f9c6807b4d1d98.tar.bz2
rails-d708b5cc50fe36fcbab95b3558f9c6807b4d1d98.zip
synchronize Active Record deprecations / removals with 4.2 release notes
[ci skip] /cc @chancancode @zzak
Diffstat (limited to 'guides')
-rw-r--r--guides/source/4_2_release_notes.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md
index be007f93a7..ba0a1e2273 100644
--- a/guides/source/4_2_release_notes.md
+++ b/guides/source/4_2_release_notes.md
@@ -132,8 +132,32 @@ Please refer to the
[Changelog](https://github.com/rails/rails/blob/4-2-stable/activerecord/CHANGELOG.md)
for detailed changes.
+### Removals
+
+* Removed deprecated method `ActiveRecord::Base.quoted_locking_column`.
+ ([Pull Request](https://github.com/rails/rails/pull/15612))
+
+* Removed deprecated `ActiveRecord::Migrator.proper_table_name`. Use the
+ `proper_table_name` instance method on `ActiveRecord::Migration` instead.
+ ([Pull Request](https://github.com/rails/rails/pull/15512))
+
+* Removed `cache_attributes` and friends. All attributes are cached.
+ ([Pull Request](https://github.com/rails/rails/pull/15429))
+
+* Removed unused `:timestamp` type. Transparently alias it to `:datetime`
+ in all cases. Fixes inconsistencies when column types are sent outside of
+ `ActiveRecord`, such as for XML Serialization.
+ ([Pull Request](https://github.com/rails/rails/pull/15184))
+
### Deprecations
+* Deprecated returning `nil` from `column_for_attribute` when no column exists.
+ It will return a null object in Rails 5.0
+ ([Pull Request](https://github.com/rails/rails/pull/15878))
+
+* Deprecated `serialized_attributes` without replacement.
+ ([Pull Request](https://github.com/rails/rails/pull/15704))
+
* Deprecated using `.joins`, `.preload` and `.eager_load` with associations that
depends on the instance state (i.e. those defined with a scope that takes an
argument) without replacement.