aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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
|/ / /
* / / Fix a false assertionYuki Nishijima2015-01-171-1/+1
|/ /
* | Time columns should support time zone aware attributesSean Griffin2015-01-153-3/+55
* | Only use the `_before_type_cast` in the form when from user inputSean Griffin2015-01-141-0/+8
* | Don't default to YAML dumping when quoting valuesSean Griffin2015-01-141-8/+5
|/
* Stop passing a column to `quote` in testsSean Griffin2015-01-102-6/+7
* Stop special casing null binary data in loggingSean Griffin2015-01-101-7/+0
* Don't attempt to save dirty attributes which are not persistableSean Griffin2015-01-101-0/+13
* Use IO::NULL alwaysNobuyoshi Nakada2015-01-102-2/+2
* Switch Secure Token generation to Base58robertomiranda2015-01-091-14/+0
* Properly copy nested bind values from subqueried relationsSean Griffin2015-01-091-9/+21