aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-03-15 14:44:48 +0100
committerYves Senn <yves.senn@gmail.com>2013-03-15 16:07:05 +0100
commit34402c762384336badbce0e2d20dbbe580c88cbe (patch)
tree41d5da7d4372fb64db8290a2cf8b37e1fd7e02bc /activerecord/CHANGELOG.md
parent0721d3b37062eca73da3efd669142d7e381e4d80 (diff)
downloadrails-34402c762384336badbce0e2d20dbbe580c88cbe.tar.gz
rails-34402c762384336badbce0e2d20dbbe580c88cbe.tar.bz2
rails-34402c762384336badbce0e2d20dbbe580c88cbe.zip
make it possible to disable implicit join references.
Closes #9712.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 6affb2aada..a8151cd23e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,20 @@
## Rails 4.0.0 (unreleased) ##
+* Referencing join tables implicitly was deprecated. There is a
+ possibility that these deprecation warnings are shown even if you
+ don't make use of that feature. You can now disable the feature entirely.
+ Fixes #9712.
+
+ Example:
+
+ # in your configuration
+ config.active_record.disable_implicit_join_references = true
+
+ # or directly
+ ActiveRecord::Base.disable_implicit_join_references = true
+
+ *Yves Senn*
+
* The `:distinct` option for `Relation#count` is deprecated. You
should use `Relation#distinct` instead.