aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/post.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-271-0/+1
* Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-2/+2
* Fix `automatic_inverse_of` not to be disabled if extension block is givenRyuta Kamizono2019-04-121-0/+4
* There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-061-0/+4
* Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-031-0/+6
* Use the correct model in the testRafael Mendonça França2019-03-011-1/+1
* Fix test that was broken by adding a default scope to an existing modelRafael Mendonça França2019-02-261-0/+1
* Fix `order` with custom attributesRyuta Kamizono2019-02-171-0/+4
* Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-131-0/+1
* Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-301-0/+1
* Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-091-2/+6
* Permit list usage cleanup and clearer documentationKevin Deisz2018-08-271-1/+1
* Convert over the rest of the whitelist referencesKevin Deisz2018-08-241-1/+1
* Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-191-0/+1
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-0/+8
* Don't update counter cache when through record was not destroyedEugene Kenny2018-01-141-0/+3
* try using regexesBen Toews2017-11-091-5/+1
* allow table name and direction in string order argBen Toews2017-11-091-3/+7
* work around deprecation warnings in a bunch of testsBen Toews2017-11-091-4/+8
* delegate scope forpavel2017-10-271-0/+1
* Add test case for `arel_attribute` with a custom tableRyuta Kamizono2017-09-271-1/+1
* Clarify base_class tests on abstract STI vs concrete STIYukio Mizuta2017-08-121-1/+6
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Merge pull request #29679 from kamipo/add_test_case_for_27724Kasper Timm Hansen2017-07-151-0/+5
|\
| * Add a test case for overwriting existing condition on associationsRyuta Kamizono2017-07-071-0/+5
* | Extract `FakeKlass` in `relation_test.rb` and `relation/mutation_test.rb`Ryuta Kamizono2017-07-111-0/+32
|/
* 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 delegating to arel in a relationRyuta Kamizono2017-06-291-0/+1
* Fix association with extension issuesRyuta Kamizono2017-05-281-1/+1
* Fix extension method with dirty target in has_many associationsRyuta Kamizono2017-03-201-0/+4
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-3/+3
* Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-0/+1
|\
| * Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-0/+1
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-7/+7
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-66/+66
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-38/+38
|/
* Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-121-0/+7
* Fix merge conflicts from #19501Sean Griffin2015-10-291-0/+7
|\
| * DRY up STI subclass logicCody Cutrer2015-03-241-0/+7
* | Merge pull request #19683 from tristang/require-option-for-counter-cacheRafael Mendonça França2015-08-131-4/+4
|\ \
| * | Require explicit counter_cache option for has_manyTristan Gamilis2015-04-071-4/+4
| |/
* / Fix regression caused by a01d164bRafael Mendonça França2015-07-071-0/+16
|/
* Added #or to ActiveRecord::RelationMatthew Draper2015-01-281-0/+3
* remove deprecated support to preload instance-dependent associaitons.Yves Senn2015-01-051-4/+0
* Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-081-0/+3
* Fix "nonexistent" typo in testsMelissa Xie2014-12-021-1/+1
* Fix includes on association with a scope containing joins along with conditionssiddharth@vinsol.com2014-11-211-0/+1
* Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+4
* Autosave callbacks shouldn't be `after_save`Agis-2014-10-131-0/+9