aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merge Pull Request #16052 Added #or to ActiveRecord::RelationSean Griffin2015-01-284-1/+49
|\
| * Bring the implementation of Relation#or up to speedSean Griffin2015-01-283-41/+22
| * Added #or to ActiveRecord::RelationMatthew Draper2015-01-283-1/+68
* | Always convert strings to UTF-8, regardless of column type in SQLiteSean Griffin2015-01-281-11/+6
|/
* Don't redefine autosave association callbacks in nested attrsSean Griffin2015-01-281-1/+0
* Remove Relation#bind_paramsSean Griffin2015-01-2717-76/+73
* Merge pull request #18588 from thegcat/patch-1Rafael Mendonça França2015-01-271-1/+1
|\
| * fix typo still cause -> still causesFelix Schäfer2015-01-271-1/+1
* | All subclasses of `Attribute` should be private constantsSean Griffin2015-01-271-1/+1
* | Use an `Attribute` object to represent a bind valueSean Griffin2015-01-276-16/+25
* | Don't rely on the internal representation of join valuesSean Griffin2015-01-272-2/+6
* | 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-276-21/+13
* | Restore useful documentation removed atRafael Mendonça França2015-01-271-0/+6
* | Merge pull request #18622 from take/patch-1Abdelkader Boudih2015-01-271-20/+0
|\ \
| * | Update model_schema.rb [ci skip]Takehiro Adachi2015-01-271-20/+0
* | | Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-264-19/+50
* | | Remove `Relation#bind_values=`Sean Griffin2015-01-263-11/+9
* | | Remove unused `bind` and `bind!` methods from `Relation`Sean Griffin2015-01-261-9/+0
* | | Remove `Relation#build_where`Sean Griffin2015-01-261-6/+0
* | | Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-262-52/+32
* | | Ensure the type caster object given to Arel is always marshallableSean Griffin2015-01-261-3/+4
* | | Change `having_values` to use the `WhereClause` classSean Griffin2015-01-264-8/+13
* | | Improve consistency of counter caches updating in memorySean Griffin2015-01-263-6/+19
* | | Move flattening records added to an association farther outSean Griffin2015-01-261-1/+2
* | | Move method to private sectionCarlos Antonio da Silva2015-01-261-7/+7
* | | 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-252-16/+23
* | | 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-255-12/+9
* | | Remove references to `:bind` in `except`Sean Griffin2015-01-252-4/+1
* | | Move where merging logic over to `WhereClause`Sean Griffin2015-01-252-40/+37
* | | Introduce `Relation::WhereClause`Sean Griffin2015-01-253-3/+67
* | | Don't access the where values hash directly in through associationsSean Griffin2015-01-251-1/+1
* | | Don't rely as much on the structure of the values hash in associationsSean Griffin2015-01-252-2/+2
* | | Fix a typo "devleopment" => "development"Rémy Coutable2015-01-251-1/+1
* | | Expand the number of types which can use prepared statementsSean Griffin2015-01-243-6/+16
* | | Don't mutate `where_values`Sean Griffin2015-01-241-1/+1