aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/post.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-041-0/+6
* Fixes the `Relation#exists?` to work with polymorphic associations.Kassio Borges2014-08-181-0/+1
* Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-1/+1
* Merge pull request #15078 from nbudin/fix_merger_filter_binds_comparison_masterRafael Mendonça França2014-05-141-0/+9
|\
| * Make filter_binds filter out symbols that are equal to stringsNat Budin2014-05-141-0/+9
|/
* Get rid of unused method in AR Post test modelCarlos Antonio da Silva2014-05-051-4/+0
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-251-0/+4
|\
| * Merge pull request #14573 from habermann24/has_many_through_fixRafael Mendonça França2014-04-221-0/+4
| |\
| | * Properly handle scoping with has_many :through. Fixes #14537.Jan Habermann2014-04-031-0/+4
* | | propogate bind values collected in arel to SQL generationAaron Patterson2014-04-111-0/+2
|/ /