lib/rubocop/cop/rails/where_exists.rb in rubocop-rails-2.20.2 vs lib/rubocop/cop/rails/where_exists.rb in rubocop-rails-2.21.0

- old
+ new

@@ -37,10 +37,9 @@ # # @example EnforcedStyle: where # # bad # User.exists?(name: 'john') # User.exists?(['name = ?', 'john']) - # User.exists?('name = ?', 'john') # user.posts.exists?(published: true) # # # good # User.where(name: 'john').exists? # User.where(['name = ?', 'john']).exists?