Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow a type caster to be given to the `Arel::Table` object | Sean Griffin | 2014-12-29 | 1 | -0/+34 |
| | | | | | | | | | This will allow most consuming code to avoid the deprecation introduced in 008445d6fd5f825d9b445ac75a7be67f0f7ab52c. The only code which will be affected is code that is building the `Arel::Table` object manually, rather than calling `arel_table` on an Active Record class. Hopefully this case will be rare enough that we don't need to introduce any additional APIs to work around it. | ||||
* | Allow for handling quoted values in ranges | Sean Griffin | 2014-12-26 | 1 | -0/+47 |
| | | | | | Since Active Record needs to eagerly cast values, we need to check for quoted infinity in our range handling | ||||
* | Revert "Revert "Merge pull request #300 from jpcody/master"" | Sean Griffin | 2014-10-31 | 1 | -10/+7 |
| | | | | | | This reverts commit 9b92af7098b2728ced578ab9a7679176d20f120f. beta2 is out, and we've fixed the issue that this caused in Rails | ||||
* | Revert "Merge pull request #300 from jpcody/master" | Sean Griffin | 2014-10-30 | 1 | -7/+10 |
| | | | | | This reverts commit 36836fa5e7c084c0dce2818577e6fd0cf815f786, reversing changes made to 53bc8426648cc93695525e8f12102cd416b2d772. | ||||
* | Deprecate passing ranges to `#in` and `#not_in` | Sean Griffin | 2014-10-25 | 1 | -129/+129 |
| | | | | | | | The goal of these methods should be to generate in nodes, not handle every possible permutation of more than one value. The `#between` and `#not_between` methods have been extracted, which better represent the semantics of handling ranges in SQL. | ||||
* | 💣 | Sean Griffin | 2014-10-25 | 1 | -4/+4 |
| | |||||
* | Improve test coverage for `#in` and `#not_in` | Sean Griffin | 2014-10-24 | 1 | -8/+201 |
| | | | | | | These methods are going to go through some heavy refactoring, and moving logic around. This adds missing tests for each of the branches on the predicate. | ||||
* | Merge pull request #304 from bigxiang/fix_lt_and_lteq_error | Rafael Mendonça França | 2014-09-12 | 1 | -0/+44 |
|\ | | | | | Fix lt & lteq don't accept most of values. | ||||
| * | Change specs to cover lt, lteq, gt and gteq. | bigxiang | 2014-08-31 | 1 | -4/+42 |
| | | |||||
| * | Fix lt & lteq don't accept most of values. | bigxiang | 2014-08-23 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #300 from jpcody/master | Matthew Draper | 2014-08-26 | 1 | -10/+7 |
|\ \ | |/ |/| | Allow for alias omission in aggregate expressions | ||||
| * | Remove default aliases from aggregate functions | Joshua Cody | 2014-07-31 | 1 | -10/+7 |
| | | |||||
* | | Fix typo `gt` means `>` | ksss | 2014-08-21 | 1 | -1/+1 |
|/ | |||||
* | Make sure Arel::SelectManager is not mistaken for an attribute | Jiri Pospisil | 2014-06-12 | 1 | -0/+11 |
| | |||||
* | rm empty spec which is covered by other specs | Vipul A M | 2014-06-07 | 1 | -2/+0 |
| | |||||
* | add the casting node to the AST at build time | Aaron Patterson | 2014-03-24 | 1 | -1/+1 |
| | | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time. | ||||
* | Break Ordering into Ascending/Descending nodes, allow reversal | Ernie Miller | 2011-06-15 | 1 | -4/+4 |
| | |||||
* | Fix modification of input on *_any/*_all predications | Ernie Miller | 2011-02-08 | 1 | -0/+16 |
| | |||||
* | attributes do not need a column member | Aaron Patterson | 2010-12-03 | 1 | -3/+3 |
| | |||||
* | renaming test_helper to helper so that it is not double required | Aaron Patterson | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | got rid of retarded check method. down with rspec | Ryan Davis | 2010-10-18 | 1 | -6/+6 |
| | |||||
* | Renamed spec_helper to test_helper | Ryan Davis | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | Fisting arel specs -- still needs tree_manager and cleanup | Ryan Davis | 2010-10-18 | 1 | -0/+648 |