aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation/mutation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `order` with custom attributesRyuta Kamizono2019-02-171-2/+2
* don't check for immutability when setting skip_preloading as it doesn't effec...Lachlan Sylvester2018-04-121-1/+1
* Only preload misses on multifetch cacheLachlan Sylvester2018-03-061-1/+6
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-2/+2
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* 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-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove unused `left_joins_values` generationRyuta Kamizono2017-05-231-1/+1
* Remove duplicated "test" prefixRyuta Kamizono2017-04-071-1/+1
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-1/+1
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-17/+1
* improve error message when include assertions failMichael Grosser2016-09-161-1/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* Use `ActiveRecord::TestCase` rather than `ActiveSupport::TestCase` in AR test...Ryuta Kamizono2016-08-111-1/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-37/+37
* No need `public_send`Ryuta Kamizono2016-07-171-2/+2
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-0/+4
* Define `sanitize_sql_for_order` for AR and use it inside `preprocess_order_args`yui-knk2015-11-021-0/+4
* Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-1/+1
* Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-3/+4
* Remove unused variableArun Agrawal2015-05-261-1/+1
* deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-261-4/+13
* Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-261-3/+3
* Remove `Relation#bind_values=`Sean Griffin2015-01-261-1/+1
* Remove all references to `where_values` in testsSean Griffin2015-01-251-3/+3
* Fix new warning in ruby 2.2Sean Griffin2014-12-261-2/+2
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-1/+1
* A `NullRelation` should represent nothing. Closes #15176.Yves Senn2014-09-111-0/+4
* select! renamed to avoid name collision Array#select!Earl J St Sauver2014-04-211-1/+6
* Build the reverse_order on its proper method.Lauro Caetano2014-04-071-3/+11
* Handle aliased attributes in AR::Relation#select, #order, etc.Tsutomu Kuroda2014-01-291-0/+4
* Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-1/+1
* use arel nodes to represent non-string `order_values`.Yves Senn2013-11-191-5/+1
* Merge pull request #12129 from Empact/deprecate-array-bang-delegationRafael Mendonça França2013-09-121-7/+16
* Pull the RelationMutationTests from cases/relation_test to cases/relation/mut...Ben Woosley2013-09-031-0/+139