diff options
author | Matthew Draper <matthew@trebex.net> | 2014-09-17 00:49:27 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2014-09-17 00:49:27 +0930 |
commit | 46f94aca3f648cf9a350cbe829f8d155d9af8739 (patch) | |
tree | 6ece51a4309a29fbd44f77b2d29c0c87e7a5e39e /lib/arel | |
parent | 3e6f0d963bcc8d3ff6f89b7505d7464d41ac5099 (diff) | |
parent | f3aee123ec7fb77091b8df4e3bea4f4da11d7d52 (diff) | |
download | rails-46f94aca3f648cf9a350cbe829f8d155d9af8739.tar.gz rails-46f94aca3f648cf9a350cbe829f8d155d9af8739.tar.bz2 rails-46f94aca3f648cf9a350cbe829f8d155d9af8739.zip |
Merge pull request #316 from vipulnsward/remove-alias
Remove unused @alias, being referenced in hashing.
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/nodes/extract.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes/extract.rb b/lib/arel/nodes/extract.rb index 7c69deadef..7ed678ca08 100644 --- a/lib/arel/nodes/extract.rb +++ b/lib/arel/nodes/extract.rb @@ -12,7 +12,7 @@ module Arel end def hash - super ^ [@field, @alias].hash + super ^ @field.hash end def eql? other |