aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* 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
|/
* Load both `:authors` and `:author_addresses` to keep data integrityYasuo Honda2017-08-221-1/+1
* Add test cases for `where.not` with polymorphic associationRyuta Kamizono2017-08-181-0/+19
* Currently if relation object are passed to where condition for has one or has...chopraanmol12017-08-081-0/+14
* Edits following the reviewsMaxime Lapointe2017-07-281-21/+35
* Avoid duplicate clauses when using #orMaxime Lapointe2017-07-251-0/+33
* Allow `Relation#or` to accept a relation with different `references`Sean Griffin2017-07-251-0/+11
* Fix failing testsSean Griffin2017-07-251-1/+1
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-244-60/+52
* Merge pull request #29732 from kirs/frozen-activerecordRafael França2017-07-219-0/+18
|\
| * Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-199-0/+18
* | Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"Sean Griffin2017-07-212-11/+19
|/
* Bugfix: unscope(where: [columns]) would not remove the correct binds sometimesMaxime Lapointe2017-07-131-1/+17
* Extract `FakeKlass` in `relation_test.rb` and `relation/mutation_test.rb`Ryuta Kamizono2017-07-111-33/+5
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-1/+6
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-029-9/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-019-0/+9
* Deprecate delegating to `arel` in `Relation`Ryuta Kamizono2017-06-291-0/+15
* Merge pull request #29415 from kamipo/remove_unused_defined_associationGuillermo Iguaran2017-06-161-1/+1
|\
| * Remove unused defined associationRyuta Kamizono2017-06-111-1/+1
* | Don't require 'unscope' to be the same for both sides of a 'or' relation.Dan Sherson2017-06-151-0/+25
|/