aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_table.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #271 from jordansexton/patch-2Rafael Mendonça França2014-05-191-0/+16
|\ | | | | Added update and delete convenience methods
| * Added #update_manager and #delete_manager convenience methods for consistencyJordan Sexton2014-05-171-0/+16
| |
* | convenience method for outer_joinBrian Hahn2014-05-181-0/+14
|/
* Added right and full outer joinsStephen Prater & Fire-Dragon-DoL2014-03-301-0/+14
|
* add the casting node to the AST at build timeAaron Patterson2014-03-241-1/+2
| | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time.
* Remove deprecated Arel::SqlLiteralRafael Mendonça França2014-02-101-3/+3
|
* Add equality to ALL THE THINGS (that matter)Ernie Miller2012-08-181-0/+24
| | | | | | | | | | | | 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
* Add an #table_name method to Table and TableAlias, which always returns the ↵Jon Leighton2011-03-041-0/+4
| | | | actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect).
* fixing create_string_join factory methodAaron Patterson2010-12-141-2/+1
|
* adding a join source nodeAaron Patterson2010-12-141-4/+2
|
* removing tests of deprecated methodsAaron Patterson2010-12-141-32/+0
|
* creating string join nodesAaron Patterson2010-12-071-0/+7
|
* adding a join factory method on the select managerAaron Patterson2010-12-071-0/+16
|
* attributes do not need a column memberAaron Patterson2010-12-031-7/+0
|
* deprecating the update method in favor of compile_updateAaron Patterson2010-12-021-6/+0
|
* deprecating "insert"Aaron Patterson2010-12-021-0/+12
|
* do not use private methodsAaron Patterson2010-11-161-1/+1
|
* Fix typos in the description of the testIvan Ukhov2010-11-171-2/+2
|
* Write a test for checking the presence of table names in the cacheIvan Ukhov2010-11-171-1/+12
|
* adding proper columns to our fake tableAaron Patterson2010-11-051-2/+2
|
* adding default limits when there is an offset for sqlite and mysql [#5316 ↵Aaron Patterson2010-10-201-0/+7
| | | | state:resolved]
* renaming test_helper to helper so that it is not double requiredAaron Patterson2010-10-181-1/+1
|
* got rid of retarded check method. down with rspecRyan Davis2010-10-181-12/+12
|
* Renamed spec_helper to test_helperRyan Davis2010-10-181-1/+1
|
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-0/+175