diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-29 15:23:58 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-29 15:23:58 -0800 |
commit | 44faa8e7fcfd328c3f2e4b90b3abad7af841bd03 (patch) | |
tree | 01c0403a99f156e7c4c8cd3d507b2fe0f015bcd2 /lib/arel/nodes | |
parent | f83affa41e67f4100f1851ed1a13fd5c912b4e1e (diff) | |
download | rails-44faa8e7fcfd328c3f2e4b90b3abad7af841bd03.tar.gz rails-44faa8e7fcfd328c3f2e4b90b3abad7af841bd03.tar.bz2 rails-44faa8e7fcfd328c3f2e4b90b3abad7af841bd03.zip |
adding ancestor test
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/join.rb | 2 | ||||
-rw-r--r-- | lib/arel/nodes/select_core.rb | 2 | ||||
-rw-r--r-- | lib/arel/nodes/update_statement.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/arel/nodes/join.rb b/lib/arel/nodes/join.rb index 6dede632c5..07f8c98e85 100644 --- a/lib/arel/nodes/join.rb +++ b/lib/arel/nodes/join.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class Join + class Join < Arel::Nodes::Node attr_accessor :left, :right, :constraint def initialize left, right, constraint diff --git a/lib/arel/nodes/select_core.rb b/lib/arel/nodes/select_core.rb index 42e590ce36..acc6bb9815 100644 --- a/lib/arel/nodes/select_core.rb +++ b/lib/arel/nodes/select_core.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class SelectCore + class SelectCore < Arel::Nodes::Node attr_accessor :froms, :projections, :wheres, :groups attr_accessor :having diff --git a/lib/arel/nodes/update_statement.rb b/lib/arel/nodes/update_statement.rb index 6f21187eb1..288e9f4676 100644 --- a/lib/arel/nodes/update_statement.rb +++ b/lib/arel/nodes/update_statement.rb @@ -1,6 +1,6 @@ module Arel module Nodes - class UpdateStatement + class UpdateStatement < Arel::Nodes::Node attr_accessor :relation, :wheres, :values, :orders, :limit def initialize |