aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Add an option `end_at` to `find_in_batches`Vipul A M2015-02-091-12/+22
* Raise ArgumentError when passing nil to Relation#mergeRafael Mendonça França2015-02-061-1/+1
* Use keyword argument in the find_in_batches APIRafael Mendonça França2015-02-061-11/+7
* Respect custom primary keys for associations in `Relation#where`Sean Griffin2015-02-041-1/+21
* Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-311-1/+1
* Post.all.or(anything) == Post.allSean Griffin2015-01-291-2/+2
* Fixed AR::Relation#group method when argument is a SQL reserved keywordBogdan Gusiev2015-01-291-13/+15
* Don't error when grouped calculations return 0 recordsSean Griffin2015-01-281-1/+1
* Bring the implementation of Relation#or up to speedSean Griffin2015-01-282-36/+21
* Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-0/+59
* Remove Relation#bind_paramsSean Griffin2015-01-275-17/+27
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-274-8/+18
* Minor refactorings on `Relation#build_joins`Sean Griffin2015-01-271-26/+13
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-1/+3
* Use the `WhereClause` ast building logic for havingSean Griffin2015-01-271-4/+1
* Move where grouping into `WhereClause`Sean Griffin2015-01-272-11/+26
* Unify access to bind values on RelationSean Griffin2015-01-275-15/+9
* Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-263-16/+47
* Remove `Relation#bind_values=`Sean Griffin2015-01-262-10/+8
* 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-263-5/+8
* 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_values_hash` over to `WhereClause`Sean Griffin2015-01-251-0/+22
* Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-252-17/+25
* Remove most references to `where_values` in `QueryMethods`Sean Griffin2015-01-251-2/+2
* `Relation#Merger` can merge all clause methodsSean Griffin2015-01-251-3/+11
* Rename `WhereClause#parts` to `WhereClause#predicates`Sean Griffin2015-01-252-16/+16
* Move `where.not` logic into `WhereClause`Sean Griffin2015-01-252-15/+25
* Move the construction of `WhereClause` objects out of `Relation`Sean Griffin2015-01-252-14/+42
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-0/+2
* Remove references to `:bind` in `except`Sean Griffin2015-01-251-3/+0
* Move where merging logic over to `WhereClause`Sean Griffin2015-01-252-40/+37
* Introduce `Relation::WhereClause`Sean Griffin2015-01-252-0/+63
* Expand the number of types which can use prepared statementsSean Griffin2015-01-242-6/+13
* Don't mutate `where_values`Sean Griffin2015-01-241-1/+1
* Don't rely on relation mutability when building through associationsSean Griffin2015-01-241-18/+24
* Don't duplicate `Relation::VALUE_METHODS` in `Relation::Merger`Sean Griffin2015-01-241-2/+1
* Don't remove join dependencies in `Relation#exists?`Sean Griffin2015-01-231-1/+1
* Fix bind value copying from subqueried relationsSean Griffin2015-01-192-13/+2
* Move `create_binds` over to the `PredicateBuilder`Sean Griffin2015-01-192-34/+25
* 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
* Remove unneeded `require 'as/deprecation'`claudiob2015-01-041-1/+0
* Remove unneeded requiresRafael Mendonça França2015-01-041-2/+0
* Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-021-25/+12