aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* `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
|/
* Prevent making bind param if casted value is nilRyuta Kamizono2017-05-311-1/+5
* Merge pull request #29003 from kamipo/delegate_ast_and_locked_to_arel_explicitlyMatthew Draper2017-05-281-1/+1
|\
| * Delegate `ast` and `locked` to `arel` explicitlyRyuta Kamizono2017-05-061-1/+1
* | Remove unused `left_joins_values` generationRyuta Kamizono2017-05-231-1/+1
|/
* Remove unused `DelegationTest#call_method`Ryuta Kamizono2017-05-061-27/+7
* Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`Ryuta Kamizono2017-05-042-18/+10
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-272-3/+3
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-262-3/+3
* Replace \Z to \zRyuta Kamizono2017-04-241-1/+1
* Add a test case for #20802Ryuta Kamizono2017-04-131-0/+5
* Remove duplicated "test" prefixRyuta Kamizono2017-04-071-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-262-3/+3