diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-11 16:22:01 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-11 16:22:01 -0700 |
commit | e533855383ea187d8a157d49afc438f893c4b8ae (patch) | |
tree | a7c5d3d5b1b6d62bfe6c858c450a6c9c07630048 /activerecord/lib | |
parent | c8a70660d46343d05c954c8a9b830166aa7335e9 (diff) | |
download | rails-e533855383ea187d8a157d49afc438f893c4b8ae.tar.gz rails-e533855383ea187d8a157d49afc438f893c4b8ae.tar.bz2 rails-e533855383ea187d8a157d49afc438f893c4b8ae.zip |
please use Ruby, not ActiveSupport
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index da25e640c1..47f2ad9b10 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -381,7 +381,7 @@ module ActiveRecord end def binds_from_relation(relation, binds) - if relation.is_a?(Relation) && binds.blank? + if relation.is_a?(Relation) && binds.empty? relation, binds = relation.arel, relation.bind_values end [relation, binds] |