aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorBen Moss <ben@mossity.com>2013-03-09 14:54:19 -0500
committerBen Moss <ben@mossity.com>2013-03-09 15:16:15 -0500
commit992d87db02507363a4ad4ab40a3e4c4b32cf0408 (patch)
tree9802314e8600e0bd5640538e00fd581c6cdf7e79 /activerecord/CHANGELOG.md
parentca35454b498657cd94cb0a4203801e52687aa9e0 (diff)
downloadrails-992d87db02507363a4ad4ab40a3e4c4b32cf0408.tar.gz
rails-992d87db02507363a4ad4ab40a3e4c4b32cf0408.tar.bz2
rails-992d87db02507363a4ad4ab40a3e4c4b32cf0408.zip
Deprecate #connection in favour of accessing it via the class
This allows end-users to have a `connection` method on their models without clashing with ActiveRecord internals.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 34eb646225..1796f4319f 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 4.0.0 (unreleased) ##
+* `connection` is deprecated as an instance method.
+ This allows end-users to have a `connection` method on their models
+ without clashing with ActiveRecord internals.
+
+ *Ben Moss*
+
* When copying migrations, preserve their magic comments and content encoding.
*OZAWA Sakuro*