aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/where_clause.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/relation/where_clause.rb')
-rw-r--r--activerecord/lib/active_record/relation/where_clause.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/where_clause.rb b/activerecord/lib/active_record/relation/where_clause.rb
index 90fb85cbf1..8b9ba3e633 100644
--- a/activerecord/lib/active_record/relation/where_clause.rb
+++ b/activerecord/lib/active_record/relation/where_clause.rb
@@ -3,7 +3,7 @@ module ActiveRecord
class WhereClause # :nodoc:
attr_reader :predicates, :binds
- delegate :empty?, to: :predicates
+ delegate :any?, :empty?, to: :predicates
def initialize(predicates, binds)
@predicates = predicates