aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation/delegation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-051-1/+1
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-051-1/+1
* Delegate `only` query method to relation as with `except`Ryuta Kamizono2019-03-071-1/+1
* Refactor AR::Querying to extract `QUERYING_METHODS` listRyuta Kamizono2019-03-071-14/+16
* Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-031-1/+1
* Add delegation tests for delete_by and destroy_by methodsAbhay Nikam2019-02-201-1/+1
* Relation no longer respond to Arel methodsRyuta Kamizono2019-02-061-3/+7
* Remove delegation of missing methods in a relation to arelRafael Mendonça França2019-01-171-16/+0
* Permit list usage cleanup and clearer documentationKevin Deisz2018-08-271-3/+3
* Convert remaining usage of whitelist and blacklistKevin Deisz2018-08-241-3/+3
* Add `QueryingMethodsDelegationTest` to cover query methods delegationRyuta Kamizono2018-03-221-0/+28
* Merge pull request #30377 from keepcosmos/delegate-missing-methodsMatthew Draper2017-08-311-2/+2
|\
| * Delegate :rindex, :slice, :rotate to 'records'keepcosmos2017-08-241-2/+2
* | Should be appear deprecation message for every call (#29649)Ryuta Kamizono2017-08-271-0/+1
* | Remove unnecessary fixture loadingRyuta Kamizono2017-08-241-5/+1
|/
* Fix failing testsSean Griffin2017-07-251-1/+1
* 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
* Deprecate delegating to `arel` in `Relation`Ryuta Kamizono2017-06-291-0/+15
* Remove unused `DelegationTest#call_method`Ryuta Kamizono2017-05-061-27/+7
* Simply delegate `as_json` to `records`Ryuta Kamizono2017-03-101-1/+1
* Delegate `to_sentence` and `to_fomatted_s` to `records`kenta-s2017-02-041-1/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+1
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-3/+3
* Ensure `Relation` responds to `shuffle`Sean Griffin2015-12-011-1/+1
* Remove blanket array delegation from `Relation`Sean Griffin2015-11-231-6/+0
* Add test to 57daaefRafael Mendonça França2015-05-281-1/+1
* Put back Relation#join method as a delegate to ArrayBogdan Gusiev2014-05-051-1/+1
* Create a blacklist to disallow mutator methods to be delegated to `Array`.Lauro Caetano2013-12-171-4/+11
* Add a bunch of Relation -> Array delegate methods to the whitelist. This won'...Jeremy Kemper2013-12-121-28/+14
* Use `public_send` instead of just use `send`.Lauro Caetano2013-12-121-4/+4
* Use a whitelist to delegate methods to arrayLauro Caetano2013-12-121-57/+32
* `delgated` => `delegated`Akshay Vishnoi2013-11-251-4/+4
* Avoid sorting an Array including objects from different ClassesAkira Matsuda2013-11-111-1/+1
* Load test fixtures where data are neededAkira Matsuda2013-11-111-0/+2
* A tiny grammatical fixAkira Matsuda2013-11-111-1/+1
* Allow methods arity below -1 in assert_responds.Federico Ravasio2013-10-081-3/+4
* Deprecate the delegation of Array bang methods in ActiveRecord::DelegationBen Woosley2013-09-041-0/+97