aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/post.rb
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-2/+33
|\
| * Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-181-0/+1
| * Ensure that association_ids uses the correct attribute where the association ...Jon Leighton2011-02-181-0/+1
| * Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-0/+7
| * Correctly update counter caches on deletion for has_many :through [#2824 stat...Jon Leighton2011-02-071-0/+5
| * Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-1/+1
| * removing SQL interpolation, please use scoping and attribute conditionals as ...Aaron Patterson2010-12-221-3/+0
| * has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-0/+2
| * Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+1
| * Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-151-0/+10
| * Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-161-0/+7
* | Fix naughty trailing whitespaceJon Leighton2010-10-311-2/+2
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-0/+6
|\|
| * Allow default_scope to accept a Proc.Tim Morgan2010-10-191-0/+6
* | Add explicit tests for the nested through association changes in reflection.rbJon Leighton2010-10-191-0/+1
* | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-191-0/+5
* | Add support for nested through associations in JoinAssociation. Hence Foo.joi...Jon Leighton2010-10-091-0/+2
|/
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* Eager loading :through associations will join the :source model if there are ...Grant Ammons2010-07-081-0/+1
* Fix for get_ids when including a belongs_to association on a has_many associa...Diego Algorta2010-05-151-0/+1
* Add Relation extensionsPratik Naik2010-04-021-0/+6
* Make default_scope work with RelationsPratik Naik2010-01-231-0/+5
* Simplify calculation scope building. Remove :order from associations as it is...Pratik Naik2010-01-181-1/+1
* Rename named_scope to scopePratik Naik2010-01-181-7/+7
* Make relations work as scopesPratik Naik2010-01-171-4/+4