diff options
-rw-r--r-- | arel.gemspec | 6 | ||||
-rw-r--r-- | lib/arel/visitors/dot.rb | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/arel.gemspec b/arel.gemspec index cc73a5e0ce..de63a1d120 100644 --- a/arel.gemspec +++ b/arel.gemspec @@ -23,10 +23,4 @@ and query generation. s.has_rdoc = true s.extra_rdoc_files = %w[History.txt README.markdown] - - # Arel required ActiveRecord, but we're not declaring it to avoid a - # circular dependency chain. The solution is for ActiveRecord to release - # the connection adapters which Arel uses in a separate gem - # s.add_dependency "activerecord", ">= 3.0.pre" - s.add_dependency "activesupport", ">= 3.0.0.beta" end diff --git a/lib/arel/visitors/dot.rb b/lib/arel/visitors/dot.rb index 7d68d655e8..a00e25c6a6 100644 --- a/lib/arel/visitors/dot.rb +++ b/lib/arel/visitors/dot.rb @@ -99,7 +99,6 @@ module Arel alias :visit_Arel_Nodes_GreaterThanOrEqual :visit_Arel_Nodes_Equality alias :visit_Arel_Nodes_Assignment :visit_Arel_Nodes_Equality - def visit_String o @node_stack.last.fields << o end |