diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-29 12:01:08 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-29 12:01:08 -0700 |
commit | 068b184a59a98b4acdc63a2833c360199d138c1d (patch) | |
tree | 2eb628fc6d9ad09938033794739843ed16843a0a /lib/arel/algebra/relations/operations/having.rb | |
parent | 26ed429976ac6486c0473f13b6e0f16e05ede484 (diff) | |
download | rails-068b184a59a98b4acdc63a2833c360199d138c1d.tar.gz rails-068b184a59a98b4acdc63a2833c360199d138c1d.tar.bz2 rails-068b184a59a98b4acdc63a2833c360199d138c1d.zip |
PERF: removing many splats
Diffstat (limited to 'lib/arel/algebra/relations/operations/having.rb')
-rw-r--r-- | lib/arel/algebra/relations/operations/having.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/algebra/relations/operations/having.rb b/lib/arel/algebra/relations/operations/having.rb index 447e836c1a..d36aad071b 100644 --- a/lib/arel/algebra/relations/operations/having.rb +++ b/lib/arel/algebra/relations/operations/having.rb @@ -2,7 +2,7 @@ module Arel class Having < Compound attr_reader :predicates - def initialize(relation, *predicates) + def initialize(relation, predicates) super(relation) @predicates = predicates.map { |p| p.bind(relation) } end |