aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* Don't rely on relation mutability when building through associationsSean Griffin2015-01-242-19/+25
* Don't duplicate `Relation::VALUE_METHODS` in `Relation::Merger`Sean Griffin2015-01-241-2/+1
* Merge pull request #18474 from notEthan/pretty_print_inspectSean Griffin2015-01-232-0/+16
|\
| * pretty_print will use #inspect if a subclass redefines itEthan2015-01-122-14/+29
* | Fix test failure on PG caused by 7c6f3938dee47f093Sean Griffin2015-01-231-2/+2
* | Merge pull request #10776 from bogdan/assign-attributesSean Griffin2015-01-236-60/+21
|\ \
| * | ✂️ and 💅 for #10776Sean Griffin2015-01-231-16/+4
| * | Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-236-56/+29
* | | Move integer range validation to never raise on assignmentSean Griffin2015-01-234-20/+45
* | | Errors raised in `type_cast_for_database` no longer raise on assignmentSean Griffin2015-01-234-3/+29
* | | Don't remove join dependencies in `Relation#exists?`Sean Griffin2015-01-233-1/+13
* | | Use 'public_send' over the 'send' method for object's properties.Santosh Wadghule2015-01-231-2/+2
|/ /
* | Don't error when invalid json is assigned to a JSON columnSean Griffin2015-01-213-1/+15
* | Merge pull request #18628 from yahonda/if_exists_testingsRafael Mendonça França2015-01-212-3/+3
|\ \
| * | Replace `if exists` with `table_exists?` and drop table statement with `drop_...Yasuo Honda2015-01-212-3/+3
* | | Change 'a' to 'an' for 'attribute' word [ci skip]Santosh Wadghule2015-01-211-1/+1
|/ /
* | Introduce `ActiveRecord::Base#accessed_fields`Sean Griffin2015-01-207-1/+88
* | TransactionManager should call rollback recordsArthur Neves2015-01-202-6/+6
* | Merge pull request #18458 from brainopia/fix_after_commit_for_fixturesJeremy Kemper2015-01-205-22/+51
|\ \
| * | after_commit runs after transactions with non-joinable parentsbrainopia2015-01-165-22/+51
* | | tests, use `drop_table if_exists: true` in our test suite.Yves Senn2015-01-209-13/+13
* | | Merge pull request #18597 from kamipo/add-if-exists-to-drop-tableYves Senn2015-01-205-3/+29
|\ \ \