Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PostgreSQL lateral expressions | Ville Lautanala | 2017-04-25 | 5 | -0/+39 |
| | | | | | | | | | | | | | Support for PostgreSQL lateral expressions. This is treated as an unary function applied to a query expression. Lateral is a separate function to provide interoperability with aliases and unions. These are also separate node types that wrap SelectStatements. The lateral option would need to be implemented in these nodes separately if lateral was an option of SelectStatement. When building the query, an alias can be given as an argument. This enables building a lateral query with an table alias without using either Nodes::TableAlias or Nodes::Lateral directly. | ||||
* | Fix link to SQL-92 grammar | Ville Lautanala | 2017-04-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #475 from PedroSena/chainable-insert | Rafael França | 2017-02-28 | 2 | -0/+8 |
|\ | | | | | Made InsertManager#insert chainable | ||||
| * | Made InsertManager#insert chainable | Pedro Sena | 2017-02-28 | 2 | -0/+8 |
|/ | |||||
* | Merge pull request #474 from JaKXz/patch-1 | Rafael França | 2017-02-22 | 1 | -1/+8 |
|\ | | | | | docs: add distinct example to README | ||||
| * | docs(distinct): tweaks [skip ci] | Jason Kurian | 2017-02-22 | 1 | -1/+1 |
| | | |||||
| * | docs(distinct): fix distinct example [skip ci] | Jason Kurian | 2017-02-22 | 1 | -2/+2 |
| | | |||||
| * | docs: add distinct to README | Jason Kurian | 2017-02-22 | 1 | -1/+8 |
|/ | |||||
* | Prepare to 8.0.0 | Rafael Mendonça França | 2017-02-21 | 2 | -1/+4 |
| | |||||
* | Merge pull request #470 from kmmndr/named_function_eq_nil | Rafael França | 2017-02-21 | 1 | -0/+6 |
|\ | | | | | named functions compared to nil | ||||
| * | named functions compared to nil | Thomas Kienlen | 2017-02-02 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #471 from rails/frozen-string-literal | Rafael França | 2017-02-14 | 132 | -1/+138 |
|\ \ | |/ |/| | Enable frozen_string_literal in all files in arel | ||||
| * | Enable frozen_string_literal in all files in arel | Rafael Mendonça França | 2017-02-13 | 132 | -1/+138 |
|/ | |||||
* | Merge pull request #468 from zhufenggood/master | Rafael França | 2017-01-30 | 1 | -4/+4 |
|\ | | | | | Update to_sql.rb. Little performance improvement. | ||||
| * | Performance improvement. | zhufenggood | 2017-01-27 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #467 from composerinteralia/custom-errors | Rafael França | 2017-01-17 | 6 | -2/+27 |
|\ | | | | | Raise custom error on empty join | ||||
| * | Raise custom error on empty join | Daniel Colson | 2017-01-17 | 6 | -2/+27 |
|/ | |||||
* | Merge pull request #463 from yahonda/use_assert_nil | Kasper Timm Hansen | 2016-12-30 | 1 | -2/+2 |
|\ | | | | | Address `Use assert_nil if expecting nil` warnings | ||||
| * | Address `Use assert_nil if expecting nil` warnings | Yasuo Honda | 2016-12-30 | 1 | -2/+2 |
|/ | |||||
* | Remove dead code now that attr is not used anymore | Rafael Mendonça França | 2016-12-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #462 from rails/arel-without-deprecation | Rafael França | 2016-12-29 | 9 | -157/+23 |
|\ | | | | | Remove deprecated type cast support from Arel | ||||
| * | Test with Ruby 2.4 | Rafael Mendonça França | 2016-12-29 | 1 | -0/+1 |
| | | |||||
| * | Fix identation | Rafael Mendonça França | 2016-12-29 | 1 | -7/+7 |
| | | |||||
| * | Bump arel to 8.0.0 | Rafael Mendonça França | 2016-12-29 | 1 | -1/+1 |
| | | |||||
| * | Remove deprecated type cast support in Arel | Rafael Mendonça França | 2016-12-29 | 6 | -137/+14 |
| | | |||||
| * | Remove dead code | Rafael Mendonça França | 2016-12-29 | 1 | -12/+0 |
|/ | |||||
* | Arel master is alre 7.2 | Rafael Mendonça França | 2016-12-28 | 1 | -1/+1 |
| | | | | closes #461 | ||||
* | Merge pull request #459 from danielpclark/patch-1 | Rafael França | 2016-12-19 | 1 | -1/+1 |
|\ | | | | | missing asterisk | ||||
| * | missing asterisk | Daniel P. Clark | 2016-12-19 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #458 from mcls/patch-1 | Rafael França | 2016-12-01 | 1 | -0/+1 |
|\ | | | | | Link to the API docs | ||||
| * | Link to the API docs | Maarten Claes | 2016-12-01 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #451 from kbrock/ignore_rbx | Matthew Draper | 2016-10-15 | 1 | -0/+1 |
|\ | | | | | Fix Build: Allow failures from rubinius | ||||
| * | Allow failures from rubinius | Keenan Brock | 2016-10-14 | 1 | -0/+1 |
|/ | | | | | | | | | | | | Per https://github.com/travis-ci/travis-ci/issues/5294 It looks like rvm is having trouble installing rubinius ``` rvm use rbx-2 --install --binary --fuzzy ``` I think this is the culpret for all builds failing since September | ||||
* | Merge pull request #446 from abonec/deprecated_table_exists | Rafael França | 2016-10-10 | 2 | -2/+2 |
|\ | | | | | use #data_source_exists? if possible instead of deprecated #table_exi… | ||||
| * | use #data_source_exists? instead of deprecated #table_exists? | Alexander Baronec | 2016-10-08 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #443 from mgbatchelor/master | Rafael França | 2016-10-07 | 2 | -1/+12 |
|\ | | | | | remove union mapping as :binary node when performing DepthFirst enumeration | ||||
| * | remove union mapping as :binary node when performing DepthFirst enumeration | Michael Batchelor | 2016-08-19 | 2 | -1/+12 |
| | | |||||
* | | Merge pull request #445 from oliverguenther/fix/dot-visitor-casted-node | Rafael França | 2016-10-07 | 2 | -0/+6 |
|\ \ | | | | | | | Add Arel::Nodes::Casted to dot visitor | ||||
| * | | Add Arel::Nodes::Casted to dot visitor | Oliver Günther | 2016-08-27 | 2 | -0/+6 |
| |/ | | | | | | | | | | | | | Adds casted node to the dot visitor with outgoing edges to val and attribute. Fixes #419 | ||||
* | | Merge pull request #447 from ojab/master | Rafael França | 2016-10-07 | 13 | -3/+15 |
|\ \ | | | | | | | Freeze all the strings in visitors | ||||
| * | | Drop unneeded assignment | ojab | 2016-08-31 | 1 | -1/+1 |
| | | | |||||
| * | | Freeze all the strings in visitors | ojab | 2016-08-31 | 12 | -2/+14 |
| | | | |||||
* | | | Merge pull request #450 from roooodcastro/issue-438 | Rafael França | 2016-10-07 | 2 | -3/+28 |
|\ \ \ | | | | | | | | | Use Arel::Nodes::BindParam in Oracle visitor for queries using both LIMIT and OFFSET | ||||
| * | | | Fix issue #438 when oracle visitor gets BindParams | Rodrigo Castro | 2016-10-07 | 2 | -3/+28 |
|/ / / | |||||
* / / | Don't store all aliases to a table | Sean Griffin | 2016-09-13 | 2 | -14/+3 |
|/ / | | | | | | | | | | | | | The aliases property of a table is never used other than for equality. However, the aliases that have been created for a table aren't really something that should affect whether a table is considered to be the same table or not. This removal does not appear to have any affect within Active Record or within Arel. | ||||
* | | Merge pull request #444 from alassek/dot-visitor-bind-param | Aaron Patterson | 2016-08-26 | 2 | -1/+8 |
|\ \ | |/ |/| | Fix invalid BindParam output in Dot visitor | ||||
| * | Change BindParam visit method for Dot to a noop | Adam Lassek | 2016-08-26 | 1 | -1/+2 |
| | | | | | | | | | | | | Since BindParam contains no information, treating it like a string adds no useful information to the graph, and results in an invalid label format. | ||||
| * | Add failing test for Dot visitor and BindParam | Adam Lassek | 2016-08-26 | 1 | -0/+6 |
|/ | | | | | | | | | Since BindParam has no value, treating it like a string causes it to fallback to Object#to_s, leading to output like `#<Arel::Nodes::BindParam:0x007fa43c866108>`. Since angle brackets are significant in Dot labels, this causes `Error: bad label format` when passing the graph into dot. | ||||
* | Release 7.1.1 | Rafael Mendonça França | 2016-07-27 | 2 | -1/+7 |
| | |||||
* | Fix Casted#hash | Matthew Draper | 2016-07-28 | 1 | -1/+1 |
| | | | | There is no @class variable. |