diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2017-07-25 11:07:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 11:07:35 -0400 |
commit | a4154ea99f99634b972159a3c0d398c8c691a7f5 (patch) | |
tree | 40783c0a30112b4c75ae903672e8763c4930fae7 /lib/arel/nodes/function.rb | |
parent | 0e7ce3f4c7c17e72f905b26aff3893149f524888 (diff) | |
parent | 6d225a9870aea1fa25ab71774206d08d5b216355 (diff) | |
download | rails-a4154ea99f99634b972159a3c0d398c8c691a7f5.tar.gz rails-a4154ea99f99634b972159a3c0d398c8c691a7f5.tar.bz2 rails-a4154ea99f99634b972159a3c0d398c8c691a7f5.zip |
Merge pull request #490 from MaxLap/fix_nodes_hash_eql_eqeq
Add missing hash, eql?, == to various node classes
Diffstat (limited to 'lib/arel/nodes/function.rb')
-rw-r--r-- | lib/arel/nodes/function.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/nodes/function.rb b/lib/arel/nodes/function.rb index 28a394e9f3..b2b89ee9ff 100644 --- a/lib/arel/nodes/function.rb +++ b/lib/arel/nodes/function.rb @@ -29,6 +29,8 @@ module Arel self.alias == other.alias && self.distinct == other.distinct end + alias :== :eql? + end %w{ |