Aaron Patterson
05b5bb1227
bind visitor working with collector object
2014-04-08 12:03:52 -07:00
Aaron Patterson
6d47c4cae5
build quoted nodes in factory methods
2014-03-24 17:18:56 -07:00
Aaron Patterson
93d72131bc
add the casting node to the AST at build time
...
If we add the casting node to the ast at build time, then we can avoid
doing the lookup at visit time.
2014-03-24 16:26:09 -07:00
Aaron Patterson
a1b7217871
record who created the node when $DEBUG is true
2013-05-20 15:29:10 -07:00
Aaron Patterson
5b1d2d80d3
call super from initialize
2013-05-17 15:43:54 -07:00
Adam H
daa7e829e0
while using activerecord-sqlserver-adapter 3.1.5 with Rails 3.1 with Arel 2.2.1 we encountered the error
...
uninitialized constant Arel::Nodes::Visitors::DepthFirst
apparently Arel was trying to call a relative namespace with
Visitors::DepthFirst.new(block).accept self
we fixed this by making it call an absolute namespace with
::Arel::Visitors::DepthFirst.new(block).accept self
2012-01-20 10:10:09 -05:00
Jon Leighton
79411322ae
Make it the responsibility of the connection to hold on to a visitor for generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
2011-08-08 23:23:51 +01:00
Ernie Miller
dbc86c0f2c
Fix #not to stop wrapping in a grouping node
2011-02-11 12:08:32 -05:00
Aaron Patterson
fef5e012c9
adding factory methods to node base class
2010-12-14 16:24:36 -08:00
Aaron Patterson
11e29a32af
AND nodes are now n-ary
2010-12-09 14:48:28 -08:00
Aaron Patterson
e4ea62bdec
Merge branch '2-0-stable'
...
* 2-0-stable:
adding a test for the dot visitor
2010-12-06 09:36:13 -08:00
Aaron Patterson
516ae526b3
adding a test for the dot visitor
2010-12-06 09:36:02 -08:00
Aaron Patterson
a1662156b3
we actually want enumerable in Node
2010-12-01 09:19:09 -08:00
Aaron Patterson
c9fe1b3e2b
rails 3.0.x will not let us have nice things
2010-12-01 09:04:57 -08:00
Aaron Patterson
f68b7c4e7e
base class works with visitor
2010-11-29 15:31:28 -08:00
Aaron Patterson
c86c37e5f3
mostly implemented depth-first traversal
2010-11-29 14:11:28 -08:00
Aaron Patterson
76932b99d6
adding a "not" factory method for creating Not nodes
2010-11-23 16:24:41 -08:00
Aaron Patterson
9742785d5c
alias visitor_for to for
2010-10-03 14:26:57 -07:00
Aaron Patterson
77fa5fa5f7
to_sql on nodes may be passed an engine
2010-09-27 13:12:15 -07:00
Aaron Patterson
ed6192c55b
adding a grouping node
2010-09-15 09:26:01 -07:00