diff options
Diffstat (limited to 'lib/arel/nodes/table_alias.rb')
-rw-r--r-- | lib/arel/nodes/table_alias.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |