Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `unboundable?` rather than `boundable?` | Ryuta Kamizono | 2019-01-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | The `unboundable?` behaves like the `infinite?`. ```ruby inf = Topic.predicate_builder.build_bind_attribute(:id, Float::INFINITY) inf.infinite? # => 1 oob = Topic.predicate_builder.build_bind_attribute(:id, 9999999999999999999999999999999) oob.unboundable? # => 1 inf = Topic.predicate_builder.build_bind_attribute(:id, -Float::INFINITY) inf.infinite? # => -1 oob = Topic.predicate_builder.build_bind_attribute(:id, -9999999999999999999999999999999) oob.unboundable? # => -1 ``` | ||||
* | Consolidate the duplicated code that building range predicate | Ryuta Kamizono | 2019-01-08 | 1 | -0/+4 |
| | | | | | This slightly change the code in the Arel to allow +/-INFINITY as open ended since the Active Record expects that behavior. See 5ecbeda. | ||||
* | Checking boundable not only `IN` clause but also `NOT IN` clause | Ryuta Kamizono | 2018-11-03 | 1 | -0/+4 |
| | |||||
* | Revert a writer for `BindParam#value` | Ryuta Kamizono | 2018-09-09 | 1 | -1/+1 |
| | | | | | | The writer was added during Arel refactoring to pass Active Record tests at 7a29220. That is no longer used since 846832a. | ||||
* | Arel: :nodoc: all | Matthew Draper | 2018-02-24 | 1 | -1/+1 |
| | |||||
* | Arel: rubocop -a | Matthew Draper | 2018-02-24 | 1 | -0/+1 |
| | |||||
* | Merge Arel into Active Record | Matthew Draper | 2018-02-24 | 1 | -0/+27 |