lib/pluck_all.rb in pluck_all-1.1.1 vs lib/pluck_all.rb in pluck_all-1.1.2
- old
+ new
@@ -53,11 +53,10 @@
else
column_name.to_s
end
end
relation = clone
- relation.select_values = args
- return klass.connection.select_all(relation.to_sql)
+ return klass.connection.select_all(relation.select(args).to_sql)
#return klass.connection.select_all(relation.arel)
end
end