aboutsummaryrefslogtreecommitdiffstats
path: root/test/attributes/test_attribute.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Merge pull request #300 from jpcody/master""Sean Griffin2014-10-311-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 Griffin2014-10-301-7/+10
| | | | | This reverts commit 36836fa5e7c084c0dce2818577e6fd0cf815f786, reversing changes made to 53bc8426648cc93695525e8f12102cd416b2d772.
* Deprecate passing ranges to `#in` and `#not_in`Sean Griffin2014-10-251-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 Griffin2014-10-251-4/+4
|
* Improve test coverage for `#in` and `#not_in`Sean Griffin2014-10-241-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_errorRafael Mendonça França2014-09-121-0/+44
|\ | | | | Fix lt & lteq don't accept most of values.
| * 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
| |
* | Merge pull request #300 from jpcody/masterMatthew Draper2014-08-261-10/+7
|\ \ | |/ |/| Allow for alias omission in aggregate expressions
| * Remove default aliases from aggregate functionsJoshua Cody2014-07-311-10/+7
| |
* | Fix typo `gt` means `>`ksss2014-08-211-1/+1
|/
* Make sure Arel::SelectManager is not mistaken for an attributeJiri Pospisil2014-06-121-0/+11
|
* rm empty spec which is covered by other specsVipul A M2014-06-071-2/+0
|
* add the casting node to the AST at build timeAaron Patterson2014-03-241-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 reversalErnie Miller2011-06-151-4/+4
|
* Fix modification of input on *_any/*_all predicationsErnie Miller2011-02-081-0/+16
|
* attributes do not need a column memberAaron Patterson2010-12-031-3/+3
|
* renaming test_helper to helper so that it is not double requiredAaron Patterson2010-10-181-1/+1
|
* got rid of retarded check method. down with rspecRyan Davis2010-10-181-6/+6
|
* Renamed spec_helper to test_helperRyan Davis2010-10-181-1/+1
|
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-0/+648