Browse files

please use Ruby, not ActiveSupport

  • Loading branch information...
1 parent c8a7066 commit e533855383ea187d8a157d49afc438f893c4b8ae @tenderlove tenderlove committed Apr 11, 2014
2 activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
@@ -381,7 +381,7 @@ def last_inserted_id(result)
def binds_from_relation(relation, binds)
- if relation.is_a?(Relation) && binds.blank?
+ if relation.is_a?(Relation) && binds.empty?
Ruby on Rails member
jeremy added a note Apr 11, 2014

Can't be too sure :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
relation, binds = relation.arel, relation.bind_values
[relation, binds]

0 comments on commit e533855

Please sign in to comment.