aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* Fix sliced IN clauses to be groupedRyuta Kamizono2019-04-241-0/+7
* Deprecate `where.not` working as NOR and will be changed to NAND in Rails 6.1Ryuta Kamizono2019-04-192-6/+51
* Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-052-1/+33
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-051-1/+1
* Revert unused code and re-using query annotation for `update_all` and `delete...Ryuta Kamizono2019-04-012-46/+0
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-213-0/+58
* 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-032-1/+8
* Oracle database can run `delete` statement with `order by` and`fetch first n ...Yasuo Honda2019-03-031-19/+17
* Merge pull request #33611 from willianveiga/feature/reselect-methodAndrew White2019-03-011-0/+5
|\
| * Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-024-3/+360
| |\
| * | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+5
* | | Merge pull request #35352 from kamipo/update_all_doesnt_care_optimistic_lockingRyuta Kamizono2019-02-251-8/+63
|\ \ \
| * | | Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-251-8/+63
* | | | Remove duplicated protected params definitionsRyuta Kamizono2019-02-241-20/+2
|/ / /
* | | Don't allow `where` with non numeric string matches to 0 valuesRyuta Kamizono2019-02-201-1/+2
* | | Add delegation tests for delete_by and destroy_by methodsAbhay Nikam2019-02-201-1/+1
* | | Don't allow `where` with invalid value matches to nil valuesRyuta Kamizono2019-02-181-2/+6
* | | Fix `order` with custom attributesRyuta Kamizono2019-02-171-2/+2
* | | Relation no longer respond to Arel methodsRyuta Kamizono2019-02-061-3/+7
* | | All of queries should return correct result even if including large numberRyuta Kamizono2019-01-182-0/+15
* | | Remove delegation of missing methods in a relation to arelRafael Mendonça França2019-01-171-16/+0
* | | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-5/+3
* | | Arel: Implemented DB-aware NULL-safe comparison (#34451)Dmytro Shteflyuk2018-11-151-0/+4
| |/ |/|
* | Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-0/+4
* | Use table name qualified column name for update countersRyuta Kamizono2018-09-161-0/+8
* | Extract `{update,delete}_all_test.rb` from `persistence_test.rb` and `relatio...Ryuta Kamizono2018-09-162-0/+335
* | Permit list usage cleanup and clearer documentationKevin Deisz2018-08-271-3/+3
* | Convert remaining usage of whitelist and blacklistKevin Deisz2018-08-241-3/+3
* | Fix merging relation that order including `?`Ryuta Kamizono2018-08-211-0/+10
|/
* Fix the obvious typos detected by github.com/client9/misspellKazuhiro Sera2018-08-081-1/+1
* `get_value` needs to be a public methodGraham Turner2018-04-251-0/+7
* Fix relation merging with skip_query_cache!James Williams2018-04-191-0/+4
* don't check for immutability when setting skip_preloading as it doesn't effec...Lachlan Sylvester2018-04-121-1/+1
* Add `QueryingMethodsDelegationTest` to cover query methods delegationRyuta Kamizono2018-03-221-0/+28
* Only preload misses on multifetch cacheLachlan Sylvester2018-03-061-1/+6
* Merge pull request #31133 from mohsen-alizadeh/sanitize_empty_and_nil_paramet...Matthew Draper2018-02-111-0/+15
|\
| * add test case to relation selectMohsen Alizadeh2017-12-031-0/+15
* | Use assert_empty and assert_not_emptyDaniel Colson2018-01-252-4/+4
* | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-253-7/+7
* | Change refute to assert_notDaniel Colson2018-01-251-1/+1
* | Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-1/+1
* | Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-151-0/+6
* | Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-131-1/+1
|/
* Address random `test_or_with_bind_params` failuresYasuo Honda2017-09-131-1/+1
* 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
|/