BUGFIX: uninitialized constant Arel::Nodes::Visitors::DepthFirst
…ql initializer, rather than the engine itself.
…for generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
This is useful for dynamically created predicates e.g: expr1 = table.create_false expr2 = table.create_false expr1 = create_a_predicate() if some_condition expr2 = create_another_predicate() if some_other_condition table.where(expr1.and(expr2))
* 'master' of github.com:rails/arel: Oracle does not allow ORDER BY/LIMIT in UPDATE queries.
Oracle does not allow ORDER BY/LIMIT in UPDATE queries
* master: visitors can define their own cache strategy for dispatch. fixes #57 Break Ordering into Ascending/Descending nodes, allow reversal remove unnecessary guarding agains literal LIMIT and OFFSET support for MS SQL Include Arel::Predicates to Arel::Nodes::Function so you can do table[:id].count.eq(2) updating spec zomg prep release make sure thread runs do not cache sql literal values no longer use this instance variable