aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/post.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
|/ /
* / CollectionProxy uses the arel of its association's scope.Jefferson Lai2014-04-021-0/+4
|/
* Skip `include_values` from through associations chains for building target scopePaul Nikitochkin2013-10-271-0/+3
* More unused associations in AR test modelsAkira Matsuda2013-09-101-1/+0
* pk should not be required for hm:t associationsAaron Patterson2013-08-291-0/+8
* Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-0/+1
* More unused associations in AR test modelsAkira Matsuda2013-07-251-1/+0
* Fix cases where delete_records on a has_many association caused errorsDerek Kraan2013-01-271-0/+5
* Unused test modelAkira Matsuda2013-01-241-5/+0
* Goodbye there, very special rubbish!Akira Matsuda2013-01-241-5/+1
* Unused model DeprecatedPostWithCommentAkira Matsuda2013-01-241-7/+0
* Merge pull request #8913 from seejee/regression_test_for_chained_preloaded_sc...Carlos Antonio da Silva2013-01-201-0/+3
|\
| * Added test case to prevent regression of chained, preloaded scopes. (#7490)Chris Geihsler2013-01-191-0/+3
* | Undeprecate the :extend optionJon Leighton2013-01-181-0/+14
|/
* Revert "Fix find_in_batches with customized primary_key"Santiago Pastorino2012-09-211-5/+0
* Fix find_in_batches with customized primary_keyToshiyuki Kawanishi2012-09-161-0/+5
* Add a test to make sure preloading properly merges association and default sc...Pratik Naik2012-08-281-0/+3
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-3/+4
* rm unnecessary testJon Leighton2012-07-201-4/+0
* Convert association macros to the new syntaxJon Leighton2012-07-201-16/+17
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-3/+3
* remove deprecated scope stuffJon Leighton2012-04-261-8/+1
* Deprecate eager-evaluated scopes.Jon Leighton2012-03-211-8/+8
* Add test case to has_many through association when mass_assignment_sanitizer isRafael Mendonça França2012-03-051-0/+2
* Fix #3890. (Calling proxy_association in scope chain.)Jon Leighton2011-12-081-1/+5
* don't change class definition in test caseJosh Susser2011-11-291-0/+4