aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/scoping/named_scoping_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-1/+1
* assert_calledutilum2018-04-261-2/+3
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* Deprecate accessibility of private/protected class methods in named scopeRyuta Kamizono2018-03-301-0/+7
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-10/+10
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-28/+28
* Use respond_to test helpersDaniel Colson2018-01-251-3/+3
* Prevent scope named same as a ActiveRecord::Relation instance method.Chen Kinnrot2017-11-281-0/+16
* Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2017-08-131-2/+4
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* 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
* Add missing `delegate :extending, to: :all`Ryuta Kamizono2017-06-011-0/+6
* Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-191-9/+9
* Order array contents to match Relation#firstMatthew Draper2017-02-251-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
* Add three new rubocop rulesRafael Mendonça França2016-08-161-10/+10
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-12/+12
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-19/+19
* Fix the calling `merge` method at first in a scopesuginoy2016-07-191-0/+7
* Fix some typos in comments.Joe Rafaniello2016-05-041-1/+1
* Do not delegate `AR::Base#empty?` to `all`Sean Griffin2016-05-021-6/+0
* Delegate some additional methods in querying.rbKenta2016-03-301-0/+20
* Suppress :warning:sAkira Matsuda2016-01-281-1/+1
* scope needs the second argumentAkira Matsuda2016-01-281-1/+1
* Revert "Remove valid_scope_name? check - use ruby"Akira Matsuda2016-01-281-0/+19
* Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-4/+6
* Error message testing fixFranky W2015-02-201-2/+4
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-2/+2
* Remove all references to `where_values` in testsSean Griffin2015-01-251-1/+1
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Merge pull request #17374 from maurogeorge/scope-exceptionYves Senn2014-10-271-0/+7
|\
| * Raises ArgumentError when try to define a scope without a callableMauro George2014-10-231-0/+6
|/
* Enums shouldn't ruin people's anniversariesGodfrey Chan2014-09-041-2/+5
* Revert "Merge pull request #14544 from jefflai2/named_scope_sti"Rafael Mendonça França2014-05-211-6/+1
* Merge pull request #14544 from jefflai2/named_scope_stiRafael Mendonça França2014-05-201-1/+6
|\
| * Fixes Issue #13466.Jefferson Lai2014-04-231-1/+6
* | Block a few default Class methods as scope name.Arthur Neves2014-04-031-0/+3
|/
* Remove warnings for already defined methodsRafael Mendonça França2014-02-011-1/+3
* `scope` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-0/+57
* Ensure #second acts like #first AR finderJason Meller2014-01-201-4/+4
* Remove deprecated `scope` use without passing a callable object.Arun Agrawal2013-07-031-10/+0
* calling default_scope without a proc will raise ArgumentErrorNeeraj Singh2013-07-021-3/+2
* remove deprecated implicit join references.Yves Senn2013-06-291-5/+0
* Fix scope chaining + STIJon Leighton2013-04-051-1/+1
* failing test for #9869Neeraj Singh2013-04-051-0/+5