aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-29 14:32:52 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-29 14:32:52 -0700
commitc308de87fa7a48d980b96c01d43045f17ee487ad (patch)
tree11f71e8e04f5e19ae54970216d9bb7bd0622750a /lib/arel/nodes
parent7a625bf74e4e197746b857ae23b1a0fdfd9f3be7 (diff)
downloadrails-c308de87fa7a48d980b96c01d43045f17ee487ad.tar.gz
rails-c308de87fa7a48d980b96c01d43045f17ee487ad.tar.bz2
rails-c308de87fa7a48d980b96c01d43045f17ee487ad.zip
adding better dot file support for our nodes
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r--lib/arel/nodes/does_not_match.rb2
-rw-r--r--lib/arel/nodes/matches.rb2
-rw-r--r--lib/arel/nodes/not_in.rb2
-rw-r--r--lib/arel/nodes/unqualified_column.rb2
4 files changed, 5 insertions, 3 deletions
diff --git a/lib/arel/nodes/does_not_match.rb b/lib/arel/nodes/does_not_match.rb
index b5693df711..33bdeab005 100644
--- a/lib/arel/nodes/does_not_match.rb
+++ b/lib/arel/nodes/does_not_match.rb
@@ -1,6 +1,6 @@
module Arel
module Nodes
- class DoesNotMatch < Binary
+ class DoesNotMatch < Arel::Nodes::Binary
end
end
end
diff --git a/lib/arel/nodes/matches.rb b/lib/arel/nodes/matches.rb
index 4b9fd34ad1..5ef8ac8302 100644
--- a/lib/arel/nodes/matches.rb
+++ b/lib/arel/nodes/matches.rb
@@ -1,6 +1,6 @@
module Arel
module Nodes
- class Matches < Binary
+ class Matches < Arel::Nodes::Binary
end
end
end
diff --git a/lib/arel/nodes/not_in.rb b/lib/arel/nodes/not_in.rb
index 6cb2c6f832..6c01921a46 100644
--- a/lib/arel/nodes/not_in.rb
+++ b/lib/arel/nodes/not_in.rb
@@ -1,6 +1,6 @@
module Arel
module Nodes
- class NotIn < Binary
+ class NotIn < Arel::Nodes::Binary
end
end
end
diff --git a/lib/arel/nodes/unqualified_column.rb b/lib/arel/nodes/unqualified_column.rb
index 31561fddd4..9882cb08e2 100644
--- a/lib/arel/nodes/unqualified_column.rb
+++ b/lib/arel/nodes/unqualified_column.rb
@@ -1,6 +1,8 @@
module Arel
module Nodes
class UnqualifiedColumn
+ attr_accessor :attribute
+
def initialize attribute
@attribute = attribute
end