aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into collectorAaron Patterson2014-04-081-2/+3
|\ | | | | | | | | * master: finally stop returning strings
| * finally stop returning stringsAaron Patterson2014-04-081-2/+3
| |
* | Merge branch 'master' into collectorAaron Patterson2014-04-081-3/+3
|\| | | | | | | | | * master: loop over cores twice to make the collector implementation more convenient
| * loop over cores twice to make the collector implementation more convenientAaron Patterson2014-04-081-3/+3
| |
* | Merge branch 'master' into collectorAaron Patterson2014-04-081-10/+22
|\| | | | | | | | | | | | | | | | | * master: build the ast rather than passing around strings move the ORDER BY to the RowNumber method move all the "ORDER BY" together use if / else so my brain stops hurting refactor mssql nodes to move away from string interpolation
| * build the ast rather than passing around stringsAaron Patterson2014-04-081-12/+10
| |
| * move the ORDER BY to the RowNumber methodAaron Patterson2014-04-081-4/+4
| |
| * move all the "ORDER BY" togetherAaron Patterson2014-04-081-7/+9
| |
| * use if / else so my brain stops hurtingAaron Patterson2014-04-081-1/+1
| |
| * refactor mssql nodes to move away from string interpolationAaron Patterson2014-04-081-1/+13
| |
* | fixing mysql visitorAaron Patterson2014-04-082-26/+53
| |
* | oracle tests passingAaron Patterson2014-04-082-38/+51
| |
* | postgresql visitor is workingAaron Patterson2014-04-084-27/+31
| |
* | fix sqlite visitorAaron Patterson2014-04-082-4/+5
| |
* | push reduction visitors to a reduction base classAaron Patterson2014-04-086-21/+37
| | | | | | | | this lets our old depth first and dot visitors to work normally
* | select manager tests are passingAaron Patterson2014-04-081-14/+25
| |
* | more select manager tests passingAaron Patterson2014-04-083-15/+38
| |
* | Merge branch 'master' into collectorAaron Patterson2014-04-086-110/+7
|\| | | | | | | | | * master: removing unused join_sql method
| * removing unused join_sql methodAaron Patterson2014-04-086-110/+7
| |
* | making some of the sql manager tests passAaron Patterson2014-04-083-49/+94
| |
* | Merge branch 'master' into collectorAaron Patterson2014-04-0818-32/+180
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-084-29/+0
| |
| * Merge pull request #248 from chewi/masterAaron Patterson2014-04-076-0/+74
| |\ | | | | | | Add Regexp and NotRegexp nodes for PostgreSQL
| | * Add Regexp and NotRegexp nodes for PostgreSQLJames Le Cuirot2014-04-086-0/+74
| | |
| * | fix whitespace and unsupported method argsAaron Patterson2014-04-072-2/+2
| |/
| * Revert "Merge pull request #253 from corrupt952/master"Aaron Patterson2014-04-072-3/+3
| | | | | | | | | | This reverts commit 6d3ed6d96c4a3ac85b97d81bad95b7254b2aa2d4, reversing changes made to a35fede61ac1a2fcff519ad052f2fcb8808922b9.
| * Merge pull request #253 from corrupt952/masterRafael Mendonça França2014-04-042-3/+3
| |\ | | | | | | small changes visit_Arel_Node_And
| | * flatten object.children in visit_Arel_Node_AndKazuki Hasegawa2014-04-032-3/+3
| |/
| * Merge pull request #252 from stephenprater/right_and_full_outer_joinsAaron Patterson2014-04-0110-1/+95
| |\ | | | | | | Added right and full outer joins
| | * Added right and full outer joinsStephen Prater & Fire-Dragon-DoL2014-03-3010-1/+95
| |/
* | to_sql is passingAaron Patterson2014-04-082-120/+160
| |
* | fixing some tests in to_sqlAaron Patterson2014-04-083-81/+133
| |
* | bind visitor working with collector objectAaron Patterson2014-04-087-19/+49
| |
* | initial commit for collector implementationAaron Patterson2014-03-251-0/+26
|/
* Merge branch 'rm_a' into ww2lin-rm_aAaron Patterson2014-03-252-2/+2
|\ | | | | | | | | * rm_a: take in to account quoted and translated values
| * take in to account quoted and translated valuesAaron Patterson2014-03-252-2/+2
| |
* | remove the default parameter and updated commentAlex Lin2014-03-252-3/+3
| |
* | removed the attribute that was left in for testingAlex Lin2014-03-251-1/+1
| |
* | Removed all the fiels in lib/arel/visitors/ which needs dependency on 'a' ↵Alex Lin2014-03-2416-381/+368
|/ | | | also fixed the test case for : test/visitors/test_to_sql.rb:22 which pass in the parameter attribute e.g the parameter a.
* build quoted nodes in factory methodsAaron Patterson2014-03-243-15/+24
|
* build quoted stringsAaron Patterson2014-03-243-10/+10
|
* add the casting node to the AST at build timeAaron Patterson2014-03-2420-63/+166
| | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time.
* Merge pull request #246 from cmohanprasath/assign_value_from_attribute_testAaron Patterson2014-02-242-2/+18
|\ | | | | Assign value from attribute test
| * Test case for Issue No 242.cmohanprasath2014-02-181-0/+11
| | | | | | | | The evaluates the assignment of two unqualified columns.
| * Allow assignment right member to reference columnsLoic Nageleisen2014-02-111-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | Such queries become possible for mortals: ```ruby table.where(table[:qux].eq 'zomg').compile_update(table[:foo] => table[:bar]) ``` Arguably much more sane than using `engine.connection.quote_column_name` or `engine.connection.visitor.accept` on the right hand (bar), which is totally leaking the abstraction.
* | Merge pull request #247 from zenspider/fix-readmeAaron Patterson2014-02-181-2/+4
|\ \ | | | | | | fixed the readme per discussion w/ tenderlove
| * | fixed the readme per discussion w/ tenderloveRyan Davis2014-02-181-2/+4
|/ /
* | Merge branch 'remove-deprecated'Rafael Mendonça França2014-02-1020-104/+39
|\ \ | |/ |/|
| * Update historyRafael Mendonça França2014-02-103-16/+24
| |
| * Remove deprecated Arel::ExpressionRafael Mendonça França2014-02-107-31/+0
| |