aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-19/+4
* Rely on the injectable type caster for `arel_table`Sean Griffin2014-12-294-24/+2
* Inform Arel we don't need additional type casting in batchesSean Griffin2014-12-261-1/+6
* Inform Arel that we don't need additional type casting in batchingSean Griffin2014-12-261-2/+8
* Go through normal where logic in `apply_join_dependency`Sean Griffin2014-12-261-1/+1
* We don't need to type cast the offset in `find_in_batches`Sean Griffin2014-12-261-1/+5
* Eagerly cast array values passed to the predicate builderSean Griffin2014-12-261-1/+6
* Eagerly cast range values in the predicate builderSean Griffin2014-12-262-1/+25
* Perform casting of single values within the predicate builderSean Griffin2014-12-264-6/+31
* Remove `klass` and `arel_table` as a dependency of `PredicateBuilder`Sean Griffin2014-12-262-26/+15
* Refactor association handling in `PredicateBuilder`Sean Griffin2014-12-262-21/+61
* Re-use the predicate builder in the `ArrayHandler`Sean Griffin2014-12-262-8/+16
* Change `PredicateBuilder` handler methods to instance methodsSean Griffin2014-12-265-30/+71
* Add missing `:nodoc:`Sean Griffin2014-12-261-1/+1
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-262-2/+2
* Clarity start parameterMichael Dawson2014-12-191-2/+2
* Fix ProtocolViolation/bind message supplies for polymorphic + pluck or groupMiklos Fazkeas2014-12-111-2/+2
* Remove deprecated behavior allowing nested arrays as query valuesMelanie Gilman2014-12-041-10/+0
* Deprecate `Class` handler in `PredicateBuilder`Melanie Gilman2014-12-041-3/+9
* Clarify that batching methods can be used with any orderable type primary key...Isaac Seymour2014-12-031-4/+4
* Refactor `build_from_hash` to convert dot notation to hash firstMelanie Gilman2014-12-021-29/+34
* Merge pull request #17886 from mrgilman/refactor-predicate-builderSean Griffin2014-12-022-16/+24
|\
| * Refactor `PredicateBuilder` from singleton to instanceMelanie Gilman2014-12-022-16/+24
* | Allow to unscope where conditions using `arel_table` with Symboldeeeki2014-12-031-1/+1
|/
* Update Arel usage for rails/arel#98fc259Sean Griffin2014-11-292-5/+5
* Stop using `Arel::Table.engine`Sean Griffin2014-11-292-3/+3
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-4/+2
* PERF: avoid string allocationsSam2014-11-201-1/+6
* Remove the unused second argument to `substitute_at`Sean Griffin2014-11-171-12/+0
* rm `reorder_bind_params`Sean Griffin2014-11-171-10/+0
* Handle `RangeError` from casting in `find_by` and `find_by!` on RelationSean Griffin2014-11-021-0/+4
* Pass the `SelectManager`, rather than the AST when querying w/ RelationSean Griffin2014-11-021-1/+1
* Don't duplicate predicate building logic in Relation findersSean Griffin2014-11-011-5/+2
* Use a bound parameter for the "id = " portion of update statementsSean Griffin2014-11-011-3/+6
* Correctly cast calculation results on PGSean Griffin2014-11-011-1/+2
* [ci skip] `Relation#bind` is not public APISean Griffin2014-11-011-1/+1
* Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+17
* Remove redundant substitute index when constructing bind valuesMelanie Gilman2014-10-311-5/+4
* Treat strings greater than int max value as out of rangeSean Griffin2014-10-311-0/+2
* Don't require calculations to be aliased to a columnSean Griffin2014-10-311-1/+1
* Use `#between`, rather than `#in` for passing Ranges to ArelSean Griffin2014-10-302-2/+2
* Merge pull request #17421 from rails/warn-with-heredocXavier Noria2014-10-283-9/+22
|\
| * let's warn with heredocsXavier Noria2014-10-283-9/+22
* | Remove unneccessary default values from relation mergerSean Griffin2014-10-281-2/+2
* | Call value methods when merging relations, rather than accessing keysSean Griffin2014-10-281-14/+14
|/
* Allow Relation#rewhere to work with infinite range valuesDan Olson2014-10-271-1/+1
* Fix Relation.rewhere to work with Range valuesDan Olson2014-10-201-1/+1
* [ci skip] Make merge method nodocAnshul Sharma2014-10-201-8/+1
* [ci skip] merge docsAnshul Sharma2014-10-201-0/+7