diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-14 11:20:46 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-14 11:20:46 -0700 |
commit | 5cf6550ef4d4f7b8b2358a99a31ce8ea6d19b428 (patch) | |
tree | 52cb83538e8333875745a21d690455d3e64e9135 /lib/arel | |
parent | 81faff66f8585553b8d332b17f8193eaa7ba15bb (diff) | |
download | rails-5cf6550ef4d4f7b8b2358a99a31ce8ea6d19b428.tar.gz rails-5cf6550ef4d4f7b8b2358a99a31ce8ea6d19b428.tar.bz2 rails-5cf6550ef4d4f7b8b2358a99a31ce8ea6d19b428.zip |
adding table alias to the TableAlias node
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/nodes/table_alias.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/nodes/table_alias.rb b/lib/arel/nodes/table_alias.rb index 656a820a60..7ec1fad272 100644 --- a/lib/arel/nodes/table_alias.rb +++ b/lib/arel/nodes/table_alias.rb @@ -2,6 +2,7 @@ module Arel module Nodes class TableAlias attr_reader :name, :relation, :columns + alias :table_alias :name def initialize name, relation @name = name |