aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-02-16 09:08:38 +0100
committerYves Senn <yves.senn@gmail.com>2015-02-16 09:39:59 +0100
commit6bd777c85156aca0cf2d1f34d8c1fe37d96ac3d9 (patch)
treee12a4abb9b323d80de9d5af7556dad301d3a18d8 /activerecord/CHANGELOG.md
parent8980da84bc33b0e2b36c92362d74280658441581 (diff)
parentf0ae503d1931a2f269db3437550be3173ba06bce (diff)
downloadrails-6bd777c85156aca0cf2d1f34d8c1fe37d96ac3d9.tar.gz
rails-6bd777c85156aca0cf2d1f34d8c1fe37d96ac3d9.tar.bz2
rails-6bd777c85156aca0cf2d1f34d8c1fe37d96ac3d9.zip
Merge pull request #18662 from estum/foreign-key-exists
Add `foreign_key_exists?` method.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index e1cace7d88..ff8dd6b72d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Add `foreign_key_exists?` method.
+
+ *Tõnis Simo*
+
* Use SQL COUNT and LIMIT 1 queries for `none?` and `one?` methods if no block or limit is given,
instead of loading the entire collection to memory.
This applies to relations (e.g. `User.all`) as well as associations (e.g. `account.users`)