1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Aaron Patterson
5b1d2d80d3 call super from initialize 2013-05-17 15:43:54 -07:00
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
Aaron Patterson
ad16c18cc3 insert statements supported 2010-11-29 14:30:06 -08:00
Aaron Patterson
67d2f9a922 adding a Value node so that SqlLiteral values may be used 2010-09-09 15:20:25 -07:00
Mike Dalessio
4e1dd7eeab deep copies of statements aren't necessary. shallow copy the top-level arrays. 2010-08-30 18:35:13 -04:00
Mike Dalessio
02ab2b37d7 Statement nodes deep-copy AST nodes 2010-08-19 01:37:18 -04:00
Aaron Patterson
b1e7bd7d02 insert manager is starting to take shape 2010-08-13 15:30:22 -07:00