aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Don't error when grouped calculations return 0 recordsSean Griffin2015-01-281-0/+5
* Merge Pull Request #16052 Added #or to ActiveRecord::RelationSean Griffin2015-01-283-0/+107
|\
| * Bring the implementation of Relation#or up to speedSean Griffin2015-01-282-3/+26
| * Added #or to ActiveRecord::RelationMatthew Draper2015-01-282-0/+84
* | Always convert strings to UTF-8, regardless of column type in SQLiteSean Griffin2015-01-281-1/+1
|/
* Don't redefine autosave association callbacks in nested attrsSean Griffin2015-01-284-0/+13
* Remove Relation#bind_paramsSean Griffin2015-01-2713-54/+43
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-275-25/+13
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-2710-125/+45
* Move where grouping into `WhereClause`Sean Griffin2015-01-271-0/+33
* Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-261-3/+3
* Remove `Relation#bind_values=`Sean Griffin2015-01-261-1/+1
* Remove unused `bind` and `bind!` methods from `Relation`Sean Griffin2015-01-261-9/+0
* Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-261-1/+1
* 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-261-2/+18
* Improve consistency of counter caches updating in memorySean Griffin2015-01-262-1/+10
* 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-261-0/+9
* Remove all references to `where_values` in testsSean Griffin2015-01-2510-62/+62
* Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-251-0/+14
* Move `where.not` logic into `WhereClause`Sean Griffin2015-01-251-0/+26
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-0/+5
* Move where merging logic over to `WhereClause`Sean Griffin2015-01-251-0/+42
* Introduce `Relation::WhereClause`Sean Griffin2015-01-252-8/+43
* Merge pull request #18474 from notEthan/pretty_print_inspectSean Griffin2015-01-231-0/+11
|\
| * pretty_print will use #inspect if a subclass redefines itEthan2015-01-121-0/+11
* | Fix test failure on PG caused by 7c6f3938dee47f093Sean Griffin2015-01-231-2/+2
* | Merge pull request #10776 from bogdan/assign-attributesSean Griffin2015-01-234-6/+6
|\ \
| * | Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-234-6/+6
* | | Move integer range validation to never raise on assignmentSean Griffin2015-01-232-15/+28
* | | Errors raised in `type_cast_for_database` no longer raise on assignmentSean Griffin2015-01-231-0/+17
* | | Don't remove join dependencies in `Relation#exists?`Sean Griffin2015-01-231-0/+6
|/ /
* | Don't error when invalid json is assigned to a JSON columnSean Griffin2015-01-211-0/+8
* | Replace `if exists` with `table_exists?` and drop table statement with `drop_...Yasuo Honda2015-01-212-3/+3
* | Introduce `ActiveRecord::Base#accessed_fields`Sean Griffin2015-01-203-0/+40
* | TransactionManager should call rollback recordsArthur Neves2015-01-201-1/+1
* | Merge pull request #18458 from brainopia/fix_after_commit_for_fixturesJeremy Kemper2015-01-203-18/+31
|\ \
| * | after_commit runs after transactions with non-joinable parentsbrainopia2015-01-163-18/+31
* | | 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-201-0/+11
|\ \ \
| * | | Add an `:if_exists` option to `drop_table`Stefan Kanev2015-01-191-0/+11
* | | | Fix bind value copying from subqueried relationsSean Griffin2015-01-191-0/+8
* | | | Whether a column exists or not doesn't affect whether we can use bindsSean Griffin2015-01-191-1/+1
|/ / /
* | | Merge pull request #18591 from kamipo/remove_unused_accessorSantiago Pastorino2015-01-181-1/+1
|\ \ \
| * | | Remove unused accessorRyuta Kamizono2015-01-191-1/+1
* | | | Merge pull request #18501 from prathamesh-sonpatki/nosqlSantiago Pastorino2015-01-181-0/+10
|\ \ \ \ | |/ / / |/| | |
| * | | Run SQL only if attribute changed for update_attribute methodPrathamesh Sonpatki2015-01-181-0/+10
* | | | Should escape regexp wildcard character `.`Ryuta Kamizono2015-01-1914-34/+34
* | | | Don't calculate in-place changes on attribute assignmentSean Griffin2015-01-181-0/+8
|/ / /