diff options
author | Jon Leighton <j@jonathanleighton.com> | 2013-03-15 08:12:09 -0700 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2013-03-15 08:12:09 -0700 |
commit | 5558bb0d65b1bd9ad6aa0bd5a074c21d651248b3 (patch) | |
tree | 1898dace4e88390bcc940f107a48335a38bbf26f /activerecord/CHANGELOG.md | |
parent | 133a1759a4c317e7836699bba2530603a84d7ccb (diff) | |
parent | 34402c762384336badbce0e2d20dbbe580c88cbe (diff) | |
download | rails-5558bb0d65b1bd9ad6aa0bd5a074c21d651248b3.tar.gz rails-5558bb0d65b1bd9ad6aa0bd5a074c21d651248b3.tar.bz2 rails-5558bb0d65b1bd9ad6aa0bd5a074c21d651248b3.zip |
Merge pull request #9733 from senny/9712_option_to_turn_references_deprecation_off
make it possible to disable implicit join references.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 15 |
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. |