diff options
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/not_equal.rb | 6 | ||||
-rw-r--r-- | lib/arel/nodes/table_alias.rb | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/arel/nodes/not_equal.rb b/lib/arel/nodes/not_equal.rb new file mode 100644 index 0000000000..7f892940cb --- /dev/null +++ b/lib/arel/nodes/not_equal.rb @@ -0,0 +1,6 @@ +module Arel + module Nodes + class NotEqual < Arel::Nodes::Binary + end + end +end diff --git a/lib/arel/nodes/table_alias.rb b/lib/arel/nodes/table_alias.rb index 4f1d70ee54..656a820a60 100644 --- a/lib/arel/nodes/table_alias.rb +++ b/lib/arel/nodes/table_alias.rb @@ -12,7 +12,7 @@ module Arel end def [] name - name = name.to_s + name = name.to_sym columns.find { |column| column.name == name } end end |