aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump minitest to 5.1.Vipul A M2014-01-0412-12/+12
|
* Merge pull request #229 from aackerman/readme-inaccuracyRafael Mendonça França2014-01-021-6/+0
|\ | | | | Remove README inaccuracy, where does not allow multiple arguments
| * Remove README inaccuracy, where does not allow multiple argumentsAaron Ackerman2014-01-021-6/+0
|/
* Merge pull request #226 from dogweather/masterRafael Mendonça França2013-12-061-0/+4
|\ | | | | Documented the case-insensitive nature of the match feature.
| * Documented the case-insensitive nature of the match feature.Robb Shecter2013-12-051-0/+4
|/ | | Documenting the library's behavior. People and other libraries (cf. Squeel) have come to depend on this behavior, and so am submitting this pull request to specify it authoritatively.
* Test on 2.1.0 previewRafael Mendonça França2013-12-051-0/+1
|
* Remove joins methodRafael Mendonça França2013-12-051-8/+0
|
* Remove deprecated calls from the testsRafael Mendonça França2013-12-053-9/+9
|
* Release 5.0.0Rafael Mendonça França2013-12-042-4/+14
|
* Remove columns usage from the READMERafael Mendonça França2013-12-041-6/+3
| | | | Closes #189
* Copy editRafael Mendonça França2013-12-041-1/+1
|
* Merge pull request #191 from sadfuzzy/patch-1Rafael Mendonça França2013-12-041-1/+1
|\ | | | | | | "Relational DataBase Management systems",
| * "Relational Database Managements systems", not "Relational Database ↵Denis Savitsky2013-06-251-1/+1
| | | | | | | | Managements System systems"
* | Arel master is 5.0.0Rafael Mendonça França2013-11-182-4/+5
| |
* | explicitly pass the pk to compile_updateAaron Patterson2013-11-163-9/+9
| |
* | Add 3.0.3 to CHANGELOG entry [ci skip]Rafael Mendonça França2013-11-151-0/+10
| |
* | Update History for previous releasesAndrew Vit2013-11-151-0/+41
| | | | | | | | | | Conflicts: History.txt
* | Merge pull request #217 from frodsan/remove_deleted_fileRafael Mendonça França2013-11-112-3/+2
|\ \ | | | | | | Remove deleted file by 9cbfc8 from gemspec
| * | Remove deleted file by 9cbfc8 from gemspecFrancesco Rodriguez2013-11-112-3/+2
|/ /
* | Don't test against Ruby 1.9.2Rafael Mendonça França2013-11-101-1/+0
| | | | | | | | | | Rails is not testing against this version so even if arel works we can't guarantee people application will
* | Merge pull request #216 from iantropov/issue_yamlRafael Mendonça França2013-11-102-0/+12
|\ \ | | | | | | Add :encode_with to sql_literal for proper YAML serialization
| * | Add :encode_with for proper YAML serializationIvan Antropov2013-11-092-0/+12
| | |
* | | Merge pull request #198 from vipulnsward/deprecationsRafael Mendonça França2013-11-105-114/+2
|\ \ \ | | | | | | | | Deprecations
| * | | Remove deprecated calls to `SelectManager#wheres` with no replacementVipul A M2013-11-102-23/+0
| | | |
| * | | Remove deprecated calls to `SelectManage#insert` with preference to using ↵Vipul A M2013-11-102-39/+0
| | | | | | | | | | | | | | | | `compile_insert`
| * | | Remove deprecated calls to using `where_clauses`Vipul A M2013-11-101-8/+0
| | | |
| * | | Remove deprecated calls to using `UpdateManager` without setting ↵Vipul A M2013-11-102-11/+2
| | | | | | | | | | | | | | | | `UpdateManager#key`
| * | | Remove deprecated calls to `update` with preference to using ↵Vipul A M2013-11-101-13/+0
| | | | | | | | | | | | | | | | `compile_update` and then calling `to_sql` on the resulting object to execute the SQL
| * | | Remove deprecated calls to `insert` with preference to using ↵Vipul A M2013-11-101-11/+0
| | | | | | | | | | | | | | | | `compile_insert` and then calling `to_sql` on the resulting object to execute the SQL
| * | | Remove deprecated calls to `delete` with preference to using ↵Vipul A M2013-11-101-9/+0
|/ / / | | | | | | | | | `compile_delete` and then calling `to_sql` on the resulting object to execute the SQL
* | | Merge pull request #196 from vipulnsward/remove_deprecatedRafael Mendonça França2013-11-091-21/+0
|\ \ \ | |/ / |/| | Remove deprecated
| * | Remove deprecated `Arel::Table#columns` with no replacementVipul A M2013-07-041-11/+0
| | |
| * | Remove deprecated `Arel::Table.table_cache` with no replacementVipul A M2013-07-041-10/+0
| | |
* | | Fix warning of shadowing variableRafael Mendonça França2013-10-241-2/+2
| | |
* | | Release 4.0.1Rafael Mendonça França2013-10-224-16/+29
| | |
* | | Merge pull request #211 from yahonda/support_columns_for_distinct_oracleAaron Patterson2013-10-212-3/+4
|\ \ \ | | | | | | | | Support `columns_for_distinct` with Oracle adapter
| * | | Support `columns_for_distinct`Yasuo Honda2013-10-142-3/+4
| | | |
* | | | fix one deprecation warningAaron Patterson2013-10-142-1/+2
|/ / /
* | | Merge pull request #204 from trptcolin/visitor_dispatch_cachingAaron Patterson2013-09-112-3/+28
|\ \ \ | | | | | | | | Cache visitor dispatch on a per-visitor basis
| * | | Cache visitor dispatch on a per-visitor basisColin Jones2013-08-142-3/+28
| | | |
* | | | Merge pull request #206 from SamSaffron/masterErnie Miller2013-08-301-1/+4
|\ \ \ \ | |/ / / |/| | | Improve performance of #uniq across a large number of nodes
| * | | Improve performance of #uniq across a large number of nodesSam2013-08-301-1/+4
|/ / /
* / / Add licences to gemspecRafael Mendonça França2013-07-182-0/+2
|/ / | | | | | | Closes #197
* | Merge pull request #193 from parndt/patch-1Rafael Mendonça França2013-06-271-34/+71
|\ \ | |/ |/| Prettied up the README with syntax highlighting. [ci skip]
| * Prettied up the README with syntax highlighting.Philip Arndt2013-06-281-34/+71
|/ | | | [ci skip]
* record who created the node when $DEBUG is trueAaron Patterson2013-05-201-1/+8
|
* call super from initializeAaron Patterson2013-05-178-0/+10
|
* Merge pull request #181 from prathamesh-sonpatki/typosRafael Mendonça França2013-05-171-3/+3
|\ | | | | Fixed typos
| * Fixed typosPrathamesh Sonpatki2013-05-171-3/+3
|/
* Make visitors threadsafe by removing @last_columnErnie Miller2013-04-2816-382/+386
| | | | | | | | | | | | | | | | | | | | | | The last_column feature of the ToSql visitor and its descendants is what enabled quoting based on the column last visited -- in other words, if you have a standard condition like an equality with a string attribute on the left side and an integer on the right side, then when ARel visits the node, it'll first visit the left side attribute, setting the column of the string attribute as the last column, and resulting in the right side of the condition getting the appropriate quoting. The downside is that this means that visitors can't be shared between threads, because of the state mutation. It also makes for some really weird behavior in the event that the visitor visits a node that happens to contain an attribute you weren't expecting to be there, since it'll potentially quote something based on that attribute. So, it prevents reversing an equality condition. column = value will work, but not value = column, since the last column wouldn't be the column you're hoping for. This is a first pass at fixing this by changing the signature of the visit methods to accept the currently-relevant attribute, if any.