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
Ernie Miller 6e638bba59 Add equality to ALL THE THINGS (that matter)
People are often trying to use ARel nodes inside ActiveRecord, and when
they do so, lots of things can break, because ActiveRecord relies on
Array#uniq and sometimes hash key equality to handle values that end up
in wheres, havings, etc. By implementing equality for all the nodes, we
should hopefully be able to prevent any nodes (even nodes containing
other nodes) from failing an equality check they should otherwise pass,
and alleviate many of these errors.

Fixes #130
2012-08-18 22:33:25 -04:00
..
attributes Move #as to AliasPredication, stop overriding Function's #as. 2011-04-29 11:13:41 -07:00
compatibility adding not equal node, column names are expected to be symbols 2010-09-10 16:58:19 -07:00
nodes Add equality to ALL THE THINGS (that matter) 2012-08-18 22:33:25 -04:00
sql Borked the tests, so I'm reverting for now. 2012-02-09 15:37:48 -08:00
visitors Fix in [] to be false, in [] to be true 2012-06-14 11:45:51 -04: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 bumping to 3.0.0 2012-01-12 11:37:54 -08:00
delete_manager.rb refactoring where, fixing subselect 2010-12-07 10:48:47 -08:00
deprecated.rb moving deprecated constants to the correct place 2010-09-07 16:56:54 -07:00
expression.rb Add support for ordering on expressions 2011-04-28 10:11:50 +02:00
expressions.rb Add #extract, which produces ANSI SQL function EXTRACT(<field> from <expr>). 2012-02-23 14:06:05 +01:00
factory_methods.rb Add nodes for boolean constants 2011-08-03 20:50:03 -03:00
insert_manager.rb added a factory method for creating values nodes 2011-03-21 21:31:45 -07:00
math.rb Replace MathOperation with InfixOperation to support more operators 2011-03-09 03:03:05 +08:00
nodes.rb Include Predications in Grouping 2012-05-19 11:10:47 -04:00
order_predications.rb Break Ordering into Ascending/Descending nodes, allow reversal 2011-06-15 09:18:26 -04:00
predications.rb Add nodes for boolean constants 2011-08-03 20:50:03 -03:00
select_manager.rb Support ANSI SQL2003 window functions. 2012-02-22 15:25:10 +01:00
sql_literal.rb project works with strings 2010-08-13 08:11:08 -07:00
table.rb Add equality to ALL THE THINGS (that matter) 2012-08-18 22:33:25 -04:00
tree_manager.rb Revert "Revert "Merge pull request #113 from xuanxu/remove_relation"" 2012-03-27 14:12:22 -07:00
update_manager.rb add UpdateManager#key method to access the key 2011-08-11 21:47:30 +01:00
visitors.rb Added a basic test for the informix visitor 2011-05-16 09:24:04 -04:00
window_predications.rb Support ANSI SQL2003 window functions. 2012-02-22 15:25:10 +01:00