1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel
Sean Griffin df5723dfbe Refactor #in and #not_in
These methods duplicate a lot of logic from the other predications. We
can just use those methods directly, and only build nodes with the same
name in our method directly. We've already had one bug that came from
building nodes directly, rather than using the proper predicate.
2014-10-25 07:24:18 -05:00
..
attributes Move #as to AliasPredication, stop overriding Function's #as. 2011-04-29 11:13:41 -07:00
collectors Collectors: Introduce PlainString and make use of it in SQLString 2014-06-14 23:23:36 +02:00
compatibility adding not equal node, column names are expected to be symbols 2010-09-10 16:58:19 -07:00
nodes Binary nodes should not generate the same hash as nodes of other classes 2014-10-24 09:01:05 -05:00
visitors Completes 08e6491 in reusing maybe_visit 2014-10-23 17:35:43 -07:00
alias_predication.rb Stop calling to_s on aliases, require them to be strings already. 2011-04-29 14:27:45 -04:00
attributes.rb returning undefined for unknown column types 2010-11-16 08:09:26 -08:00
crud.rb explicitly pass the pk to compile_update 2013-11-16 14:20:07 -08:00
delete_manager.rb refactoring where, fixing subselect 2010-12-07 10:48:47 -08:00
expressions.rb Remove default aliases from aggregate functions 2014-07-31 07:49:57 -05:00
factory_methods.rb build quoted strings 2014-03-24 16:50:34 -07:00
insert_manager.rb Allow INSERT INTO <table> SELECT queries 2014-04-10 13:52:26 -04:00
math.rb Replace MathOperation with InfixOperation to support more operators 2011-03-09 03:03:05 +08:00
nodes.rb {Matches,DoesNotMatch} support the ESCAPE clause 2014-09-25 13:30:03 -07:00
order_predications.rb Break Ordering into Ascending/Descending nodes, allow reversal 2011-06-15 09:18:26 -04:00
predications.rb Refactor #in and #not_in 2014-10-25 07:24:18 -05:00
select_manager.rb Add SelectManager#distinct_on to set/unset Arel::Nodes::DistinctOn quantifier 2014-08-30 13:58:18 -04:00
table.rb Arel doesn't depend on activesupport and doesn't have "String#blank?" 2014-06-01 19:13:53 +05:30
tree_manager.rb Modify Visitors::Dot's API to use collectors 2014-06-14 23:33:05 +02:00
update_manager.rb add the casting node to the AST at build time 2014-03-24 16:26:09 -07:00
visitors.rb removing unused join_sql method 2014-04-08 16:27:33 -07:00
window_predications.rb Support ANSI SQL2003 window functions. 2012-02-22 15:25:10 +01:00