aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Post.all.or(anything) == Post.allSean Griffin2015-01-293-7/+7
* Fixed AR::Relation#group method when argument is a SQL reserved keywordBogdan Gusiev2015-01-293-13/+27
* Don't error when grouped calculations return 0 recordsSean Griffin2015-01-282-1/+6
* Merge Pull Request #16052 Added #or to ActiveRecord::RelationSean Griffin2015-01-288-1/+166
|\
| * Bring the implementation of Relation#or up to speedSean Griffin2015-01-285-44/+48
| * Added #or to ActiveRecord::RelationMatthew Draper2015-01-286-1/+162
* | Always convert strings to UTF-8, regardless of column type in SQLiteSean Griffin2015-01-282-12/+7
|/
* Don't redefine autosave association callbacks in nested attrsSean Griffin2015-01-286-1/+20
* Remove Relation#bind_paramsSean Griffin2015-01-2730-130/+116
* 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-2711-41/+38
* | 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-2711-126/+48
* | Use the `WhereClause` ast building logic for havingSean Griffin2015-01-271-4/+1
* | Move where grouping into `WhereClause`Sean Griffin2015-01-273-11/+59
* | 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-265-22/+53
* | | Remove `Relation#bind_values=`Sean Griffin2015-01-264-12/+10
* | | Remove unused `bind` and `bind!` methods from `Relation`Sean Griffin2015-01-262-18/+0
* | | Remove `Relation#build_where`Sean Griffin2015-01-261-6/+0
* | | Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-263-53/+33
* | | Ensure the type caster object given to Arel is always marshallableSean Griffin2015-01-261-3/+4
* | | Generate a query that makes sense when testing having clausesSean Griffin2015-01-261-3/+4
* | | Change `having_values` to use the `WhereClause` classSean Griffin2015-01-265-10/+31
* | | Improve consistency of counter caches updating in memorySean Griffin2015-01-265-7/+29
* | | Test association was eager loaded, rather than reaching into internalsSean Griffin2015-01-262-4/+4
* | | Move flattening records added to an association farther outSean Griffin2015-01-262-1/+11
* | | 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
* | | Remove all references to `where_values` in testsSean Griffin2015-01-2510-62/+62
* | | Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-253-17/+39
* | | 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-253-15/+51
* | | 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-256-12/+14
* | | Remove references to `:bind` in `except`Sean Griffin2015-01-252-4/+1
* | | Move where merging logic over to `WhereClause`Sean Griffin2015-01-253-40/+79
* | | Introduce `Relation::WhereClause`Sean Griffin2015-01-255-11/+110
* | | 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