From 359592bba6cb85b43ca8945917b1ca57fa7494a9 Mon Sep 17 00:00:00 2001 From: Egor Lynko Date: Wed, 30 May 2012 00:36:28 +0300 Subject: exists?(false) returns false `FinderMethods#exists?` finder method now returns *false* with the *false* argument --- activerecord/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 00f290d964..1822ba8e0e 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 4.0.0 (unreleased) ## +* `FinderMethods#exists?` now returns `false` with the `false` argument. + + *Egor Lynko* + * Added support for specifying the precision of a timestamp in the postgresql adapter. So, instead of having to incorrectly specify the precision using the `:limit` option, you may use `:precision`, as intended. For example, in a migration: -- cgit v1.2.3