diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-18 09:52:16 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-18 09:52:16 -0700 |
commit | e9a22ec1afa62ed6be75427315a3a650fc41e629 (patch) | |
tree | 2f9c88c19e114cb774620e4f2fb811eaf1d5f38d /lib/arel/nodes | |
parent | b69d3bfed823c6846a94d945a91d5a2551d47837 (diff) | |
download | rails-e9a22ec1afa62ed6be75427315a3a650fc41e629.tar.gz rails-e9a22ec1afa62ed6be75427315a3a650fc41e629.tar.bz2 rails-e9a22ec1afa62ed6be75427315a3a650fc41e629.zip |
fixing update support
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/unqualified_column.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/nodes/unqualified_column.rb b/lib/arel/nodes/unqualified_column.rb new file mode 100644 index 0000000000..b86b553074 --- /dev/null +++ b/lib/arel/nodes/unqualified_column.rb @@ -0,0 +1,13 @@ +module Arel + module Nodes + class UnqualifiedColumn + def initialize attribute + @attribute = attribute + end + + def name + @attribute.name + end + end + end +end |