aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping
Commit message (Expand)AuthorAgeFilesLines
* Fix indentation [ci skip]Ryuta Kamizono2019-02-271-2/+2
* Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-02-271-5/+5
* Deprecate using class level querying methods if the receiver scope regarded a...Ryuta Kamizono2019-02-151-2/+4
* Revert "Chaining named scope is no longer leaking to class level querying met...Ryuta Kamizono2019-02-141-3/+2
* Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-061-0/+10
* Remove delegation of missing methods in a relation to private methods of the ...Rafael Mendonça França2019-01-171-7/+0
* Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-301-1/+6
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-1/+1
* Don't expose `current_scope` for internal useRyuta Kamizono2018-09-111-2/+2
* Fixes #33610Darwin D Wu2018-09-111-0/+16
* Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-191-0/+5
* assert_calledutilum2018-04-261-2/+3
* Use assert_no_match for test_order_to_unscope_reorderingYasuo Honda2018-04-201-1/+1
* Replace `assert !` with `assert_not`Daniel Colson2018-04-193-3/+3
* Deprecate accessibility of private/protected class methods in named scopeRyuta Kamizono2018-03-301-0/+7
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-252-12/+12
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-253-40/+40
* Use respond_to test helpersDaniel Colson2018-01-251-3/+3
* Merge pull request #28313 from sandrew/masterRyuta Kamizono2018-01-151-0/+12
|\
* | Prevent scope named same as a ActiveRecord::Relation instance method.Chen Kinnrot2017-11-281-0/+16
* | Merge pull request #30980 from sobrinho/sobrinho/arel-star-ignored-columnsRafael França2017-11-131-15/+15
|\ \
| * | Fix postgres ordering issue on default scoping testGabriel Sobrinho2017-11-131-15/+15
* | | `scoping` should respect current class and STI constraint (#29199)Ryuta Kamizono2017-11-061-0/+14
|/ /
* | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-08-131-2/+4
* | Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-013-1/+40
|\ \
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-193-0/+6
| * | Fix unscoping `default_scope` for `Preloader`Ryuta Kamizono2017-07-191-0/+2
| * | Fix unscoping `default_scope` in STI associationsRyuta Kamizono2017-07-191-0/+16
| * | Post.joins(:users) should not be affected by `User.current_scope`Sean Griffin2017-07-171-0/+10
| * | Enable `Layout/FirstParameterIndentation` copRyuta Kamizono2017-07-171-1/+1
| * | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-0/+5
* | | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-07-151-0/+9
|\| |
| * | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-023-3/+0
| * | Enforce frozen string in RubocopKir Shatrov2017-07-013-0/+3
| * | Fix to scoping is correctly restoredRyuta Kamizono2017-06-291-0/+9
* | | Merge branch 'master' into unlock-minitestRafael Mendonça França2017-06-021-0/+6
|\| |
| * | Add missing `delegate :extending, to: :all`Ryuta Kamizono2017-06-011-0/+6
* | | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-05-291-4/+11
|\| |
| * | Fix crashing on circular left join references with scopingRyuta Kamizono2017-05-241-2/+9
| * | Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-2/+2
* | | Explicitly create necessary data for testyuuji.yaginuma2017-05-131-0/+4
|/ /
* | Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-2/+2
* | Fix a failed AR test when running with OracleAdapterKoichi ITO2017-03-311-0/+2
* | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-2/+2
* | Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-9/+9
* | Fix fragile test (`AssociationProxyTest#test_save_on_parent_saves_children`)Fumiaki MATSUSHIMA2017-03-161-36/+34
|/
* Order array contents to match Relation#firstMatthew Draper2017-02-251-1/+1
* Ensure test threads share a DB connectioneileencodes2017-02-201-0/+2
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-2/+2
* Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-2/+2
|\