aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix c479480638508c20601af69ca46b5b606c2d5b4d to account for from_value -> fro...Jeremy Kemper2015-02-241-1/+1
* Merge pull request #18744 from mfazekas/no-table-name-with-fromRafael Mendonça França2015-02-241-5/+9
* Fixed AR::Relation#group method when argument is a SQL reserved keywordBogdan Gusiev2015-01-291-13/+15
* Bring the implementation of Relation#or up to speedSean Griffin2015-01-281-36/+8
* Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-0/+59
* Remove Relation#bind_paramsSean Griffin2015-01-271-10/+1
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-271-1/+11
* Minor refactorings on `Relation#build_joins`Sean Griffin2015-01-271-26/+13
* Use the `WhereClause` ast building logic for havingSean Griffin2015-01-271-4/+1
* Move where grouping into `WhereClause`Sean Griffin2015-01-271-11/+1
* Unify access to bind values on RelationSean Griffin2015-01-271-1/+1
* Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-261-12/+13
* Remove `Relation#bind_values=`Sean Griffin2015-01-261-7/+4
* Remove unused `bind` and `bind!` methods from `Relation`Sean Griffin2015-01-261-9/+0
* Remove `Relation#build_where`Sean Griffin2015-01-261-6/+0
* Change `having_values` to use the `WhereClause` classSean Griffin2015-01-261-3/+6
* Remove `where_values` and `where_values=`Sean Griffin2015-01-251-8/+0
* Correct the implementation for `unscope(:where)`Sean Griffin2015-01-251-5/+8
* Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-251-17/+2
* Remove most references to `where_values` in `QueryMethods`Sean Griffin2015-01-251-2/+2
* Rename `WhereClause#parts` to `WhereClause#predicates`Sean Griffin2015-01-251-3/+3
* Move `where.not` logic into `WhereClause`Sean Griffin2015-01-251-15/+2
* Move the construction of `WhereClause` objects out of `Relation`Sean Griffin2015-01-251-14/+8
* Introduce `Relation::WhereClause`Sean Griffin2015-01-251-0/+34
* Expand the number of types which can use prepared statementsSean Griffin2015-01-241-3/+2
* Don't mutate `where_values`Sean Griffin2015-01-241-1/+1
* Fix bind value copying from subqueried relationsSean Griffin2015-01-191-13/+0
* Move `create_binds` over to the `PredicateBuilder`Sean Griffin2015-01-191-32/+1
* Whether a column exists or not doesn't affect whether we can use bindsSean Griffin2015-01-191-6/+3
* Don't mutate bind values in `Relation`Sean Griffin2015-01-191-1/+1
* Properly copy nested bind values from subqueried relationsSean Griffin2015-01-091-3/+1
* Correctly fetch bind_values from join in subquerybrainopia2015-01-061-1/+3
* remove deprecation warning when modifying a Relation with cached arel.Yves Senn2015-01-051-21/+14
* Merge pull request #17886 from mrgilman/refactor-predicate-builderSean Griffin2014-12-021-2/+2
|\
| * Refactor `PredicateBuilder` from singleton to instanceMelanie Gilman2014-12-021-2/+2
* | Allow to unscope where conditions using `arel_table` with Symboldeeeki2014-12-031-1/+1
|/
* Update Arel usage for rails/arel#98fc259Sean Griffin2014-11-291-1/+1
* Stop using `Arel::Table.engine`Sean Griffin2014-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
* rm `reorder_bind_params`Sean Griffin2014-11-171-10/+0
* Use a bound parameter for the "id = " portion of update statementsSean Griffin2014-11-011-3/+6
* [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
* let's warn with heredocsXavier Noria2014-10-281-2/+5
* 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
* A `NullRelation` should represent nothing. Closes #15176.Yves Senn2014-09-111-2/+2
* always reorder bind parameters. fixes #15920Aaron Patterson2014-09-041-6/+4