aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Change specs to cover lt, lteq, gt and gteq.bigxiang2014-08-311-4/+42
|
* Fix lt & lteq don't accept most of values.bigxiang2014-08-231-0/+6
|
* Fix typo `gt` means `>`ksss2014-08-211-1/+1
|
* Merge pull request #291 from vipulnsward/rename-testRafael Mendonça França2014-06-301-52/+53
|\ | | | | Cleanup SelectManager Test
| * - Stop passing redundant `:engine => Table.engine` to `Table#new`Vipul A M2014-06-151-51/+52
| | | | | | | | | | | | | | | | - Remove redundant `ast` variable creation - Rename similar join tests name to what they actually test - Move "joins itself" test to "joins" describe instead of defining describe block twice - Move update manager statement tests in logical order - Move `project` tests in logical order
| * Rename ambiguous test name to what it actually testsVipul A M2014-06-151-1/+1
| |
* | Add test for window + partition + order.Alexander Staubo2014-06-221-0/+11
| |
* | Windowing support for PARTITION BY clause.Alexander Staubo2014-06-202-3/+39
| |
* | Merge pull request #292 from mekishizufu/dot_visitor_apiRafael Mendonça França2014-06-151-4/+4
|\ \ | | | | | | Modify Visitors::Dot's API to use collectors
| * | Modify Visitors::Dot's API to use collectorsJiri Pospisil2014-06-141-4/+4
| |/
* / - Test noop when passing empty list to `insert`Vipul A M2014-06-151-3/+8
|/ | | | | - Rename into test to indicate it accepts table and chains on it - Rename "combo" test to what it actually tests
* Merge pull request #290 from mekishizufu/fix_select_manager_as_subqueryRafael Mendonça França2014-06-131-0/+11
|\ | | | | Support passing of SelectManager to attribute methods
| * Make sure Arel::SelectManager is not mistaken for an attributeJiri Pospisil2014-06-121-0/+11
| |
* | Add test for non-recursive WITH statementJiri Pospisil2014-06-121-0/+14
|/
* rm empty spec which is covered by other specsVipul A M2014-06-071-2/+0
|
* - Fix ambiguous argument warningVipul A M2014-05-312-2/+2
| | | | - Fix typo: `test_opertaion_ordering` => `test_operation_ordering`
* Merge pull request #276 from brocktimus/masterRafael Mendonça França2014-05-281-0/+5
|\ | | | | Fixing method signature for unsupported visits in the ToSQL Visitor
| * Asserting on error messageBrock Trappitt2014-05-281-3/+2
| |
| * Test which checks the error being raised by #unsupported in ToSql VisitorBrock Trappitt2014-05-271-0/+6
| |
* | Fix warning form bind collector testVipul A M2014-05-251-1/+1
|/
* 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
| |
* | Merge pull request #272 from jduff/rebased_outer_joinRafael Mendonça França2014-05-192-0/+36
|\ \ | | | | | | Add convenience #outer_join
| * | convenience method for outer_joinBrian Hahn2014-05-182-0/+36
| |/
* / Return self from #distinct so it's chainableJordan Sexton2014-05-171-0/+6
|/
* Support to add the casting node to the AST at build timeYasuo Honda2014-05-051-2/+2
| | | | Ref https://github.com/rails/arel/commit/93d72131bcc24ccb5536bec672d2dac94f8de651
* Test quoting integers when comparing a string column with integers.Dylan Smith2014-04-282-5/+25
| | | | | | | | | | An equality with a string column and integer like SELECT * FROM `users` WHERE `login_token` = 0 LIMIT 1; will match match any string that doesn't start with a digit in certain databases, like mysql. Make sure we quote the integer to avoid this problem in a database independant way.
* Get rid of the visit select hackJean Boussier2014-04-101-1/+1
|
* Allow INSERT INTO <table> SELECT queriesJean Boussier2014-04-101-0/+23
|
* add test for sql string collectorAaron Patterson2014-04-091-0/+38
|
* add a compile method to the collectorsAaron Patterson2014-04-091-0/+8
|
* adding a bind value collectorAaron Patterson2014-04-091-0/+62
|
* make the bindvalue visitor backwards compatibleAaron Patterson2014-04-091-3/+3
|
* fixing BINARY testsAaron Patterson2014-04-081-2/+2
|
* fixing select core testsAaron Patterson2014-04-081-7/+7
|
* fixing sql_literal testsAaron Patterson2014-04-081-5/+9
|
* fixing bind value testsAaron Patterson2014-04-081-5/+3
|
* fixing ibm dbAaron Patterson2014-04-081-2/+6
|
* informix is workingAaron Patterson2014-04-081-6/+10
|
* mssql visitor is workingAaron Patterson2014-04-081-8/+12
|
* fixing mysql visitorAaron Patterson2014-04-081-7/+11
|
* oracle tests passingAaron Patterson2014-04-081-19/+23
|
* postgresql visitor is workingAaron Patterson2014-04-082-15/+18
|
* fix sqlite visitorAaron Patterson2014-04-081-2/+2
|
* push reduction visitors to a reduction base classAaron Patterson2014-04-081-1/+1
| | | | this lets our old depth first and dot visitors to work normally
* more select manager tests passingAaron Patterson2014-04-081-1/+2
|
* Merge branch 'master' into collectorAaron Patterson2014-04-082-80/+5
|\ | | | | | | | | * master: removing unused join_sql method
| * removing unused join_sql methodAaron Patterson2014-04-082-80/+5
| |
* | Merge branch 'master' into collectorAaron Patterson2014-04-086-10/+122
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * master: remove order_clauses since we do not use it fix whitespace and unsupported method args Add Regexp and NotRegexp nodes for PostgreSQL Revert "Merge pull request #253 from corrupt952/master" flatten object.children in visit_Arel_Node_And Added right and full outer joins Conflicts: lib/arel/visitors/to_sql.rb lib/arel/visitors/visitor.rb
| * remove order_clauses since we do not use itAaron Patterson2014-04-081-10/+0
| |