aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/null_relation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Call `load_schema` before `assert_no_queries`Ryuta Kamizono2018-10-101-0/+1
| | | | | | | Follow up 45be690f8e6db019aac6198ba49d608a2e14824b. `predicate_builder.build` in `where` requires `load_schema` for `type_for_attribute`.
* Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-051-7/+7
| | | | Follow up 811be477786455d144819a5e9fbb7f9f54b8da69.
* Reset column information after schema changedyuuji.yaginuma2017-07-201-0/+2
| | | | | This fixes the following failures. https://travis-ci.org/rails/rails/jobs/253990014
* Ensure calculation methods execute no queriesRyuta Kamizono2017-07-151-60/+14
|
* Extract `NullRelationTest` from `RelationTest`Ryuta Kamizono2017-07-151-0/+128
`test/cases/relations_test.rb` file has too much lines (2000 over). So I extracted `NullRelationTest` to the dedicated file.