aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/post.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* We need to recorder here. Need to drop the order from default scope.Arun Agrawal2011-09-051-0/+10
* Test added for namedscope target.Arun Agrawal2011-06-031-0/+4
* Ignore :includes on through associationsAndrew White2011-05-241-0/+6
* Un-deprecate using 'default_scope' as a macro, but if you are calling the mac...Jon Leighton2011-04-181-4/+1
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-171-11/+9
* common @jonleighton :bomb:Aaron Patterson2011-04-121-2/+1
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-121-9/+13
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-5/+10
* oracle, y u defy meJon Leighton2011-03-161-4/+4
* Add a test for STI on the through where the through is nested, and change the...Jon Leighton2011-03-051-0/+1