aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* | Set counter caches to correct values in fixturesBogdan Gusiev2017-11-081-9/+9
|/
* All test cases for `exists?` places in `finder_test.rb` to ease to find the t...Ryuta Kamizono2017-10-091-26/+0
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-301-4/+8
* Add test case for `arel_attribute` with a custom tableRyuta Kamizono2017-09-271-0/+4
* Treat `Set` as an `Array` in `Relation#where`Sean Griffin2017-09-261-0/+13
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-46/+1
* Merge pull request #29867 from koic/fix_a_failed_ar_test_when_using_oracleKasper Timm Hansen2017-07-231-2/+10
|\
| * Fix a failued AR test when using OracleAdapterKoichi ITO2017-07-201-2/+10
* | Merge pull request #29732 from kirs/frozen-activerecordRafael França2017-07-211-0/+2
|\ \
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| |/
* / Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"Sean Griffin2017-07-211-7/+3
|/
* Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-181-5/+14
* Merge pull request #29801 from kamipo/extract_null_relation_testSean Griffin2017-07-171-118/+0
|\
| * Extract `NullRelationTest` from `RelationTest`Ryuta Kamizono2017-07-151-118/+0
* | Merge pull request #29799 from kamipo/remove_outdated_test_scoped_responds_to...Sean Griffin2017-07-171-8/+0
|\ \
| * | Remove outdated `test_scoped_responds_to_delegated_methods`Ryuta Kamizono2017-07-151-8/+0
| |/
* | Fix `where` with a custom tableRyuta Kamizono2017-07-181-4/+4
* | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-1/+1
|/
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-0/+42
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-281-0/+6
|\
| * Remove delegating to arel in a relationRyuta Kamizono2017-06-291-1/+1
| * `Relation#locked?` should not build arelRyuta Kamizono2017-06-201-0/+6
* | Fix extracting `references` via `order_values` to respect quotingRyuta Kamizono2017-06-261-0/+6
|/
* Remove a redundant default_scope testsKoichi ITO2017-06-031-10/+0
* Should test against `Relation#bound_attributes`Ryuta Kamizono2017-05-041-8/+12
* Remove duplicated `test_merging_reorders_bind_params`Ryuta Kamizono2017-05-041-9/+0
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-5/+1
* Fix an AR test of relations_test when using OracleKoichi ITO2017-04-111-1/+1
* Load only needed records on ActiveRecord::Relation#inspectHendy Tanata2017-03-281-0/+6
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* Fix where_clause#except with specific where valueJohn Hawthorn2017-03-201-0/+8
* Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-7/+7
* Allow order to be given expressions as hash keysEugene Kenny2017-02-271-1/+24
* Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-0/+12
|\
| * Fix unscope with subqueryRyuta Kamizono2016-12-051-0/+12
* | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* | Merge pull request #27563 from kamipo/fix_typoRafael França2017-01-031-1/+1
|\ \
| * | Fix typo s/permited/permitted/Ryuta Kamizono2017-01-041-1/+1
* | | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-1/+1
|\ \ \ | |/ / |/| |
| * | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
| |/
* | Remove deprecation of using ActiveRecord::Base instance in .updateRafael Mendonça França2017-01-031-2/+2
* | Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-6/+0
* | Remove deprecated conditions parameter from #delete_allRafael Mendonça França2016-12-291-6/+0
* | Remove deprecated conditions parameter from `#destroy_all`Rafael Mendonça França2016-12-291-6/+0
* | Remove deprecated support to passing a class as a value in a queryRafael Mendonça França2016-12-291-9/+0
* | "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-8/+8
|/