aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Move where with blank conditions test to the correct where tests fileCarlos Antonio da Silva2012-12-071-6/+0
* Ensure there won't be any regression with where(nil) callsCarlos Antonio da Silva2012-12-071-1/+1
* Merge pull request #8332 from amatsuda/ar_where_chainCarlos Antonio da Silva2012-12-071-1/+1
|\
| * Relation.where with no args can be chained with not, like, and not_likeAkira Matsuda2012-11-301-1/+1
* | User assert_kind_of, invert assert_equal expectationsCarlos Antonio da Silva2012-11-291-3/+3
* | Added STI support to init and building associationsJason Rush2012-11-291-0/+28
|/
* Corrects typo in test nameAndy Lindeman2012-11-261-1/+1
* Merge pull request #8291 from senny/8265_build_with_polymorphic_associationRafael Mendonça França2012-11-221-0/+8
|\
| * prevent mass assignment of polymorphic type when using `build`Yves Senn2012-11-221-0/+8
* | Deprecate Relation#sum with a block.Carlos Antonio da Silva2012-11-211-0/+6
|/
* Test for has_many bug on unsaved recordsGeorge Brocklehurst2012-11-161-0/+7
* Merge and add tests related to 5215Vipul A M2012-11-121-6/+1
* Merge pull request #8116 from senny/7993_configure_counter_cache_for_has_manyJon Leighton2012-11-091-0/+8
|\
| * :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-041-0/+8
* | Delegate all calculations to the scope.Jon Leighton2012-11-091-0/+1
* | CollectionProxy#pluck issues no query for a new_record? ownerJon Leighton2012-11-091-0/+1
* | Relations built off collection associations with an unsaved owner should be n...Jon Leighton2012-11-091-0/+9
|/
* Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-031-0/+6
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-181-35/+0
|\
| * Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-13/+0
| * Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-22/+0
* | Fix warning: method redefine. Testcase name are duplicated.kennyj2012-09-171-1/+1
|/
* Don't preserve SELECT columns on COUNTSteve Klabnik2012-09-161-1/+31
* Remove the dependent_restrict_raises option.Jon Leighton2012-08-101-24/+17
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-1/+1
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-011-12/+28
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-0/+102
* AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-2/+2
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-40/+40
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-14/+14
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-3/+3
* rm redundant testJon Leighton2012-07-201-7/+0
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-102/+0
* Fix class_eval without __FILE__ and __LINE__.kennyj2012-07-181-2/+2
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-0/+7
* Remove ActiveRelation#inspectBrian Cardarella2012-06-291-1/+1
* No need to cache table metadata in advance now that #6683 was merged.Rafael Mendonça França2012-06-111-5/+0
* Merge pull request #6492 from pmahoney/fair-connection-pool2Rafael Mendonça França2012-06-111-0/+3
|\
| * Make connection pool fair with respect to waiting threads.Patrick Mahoney2012-05-251-0/+3
* | Add support for CollectionAssociation#delete by Fixnum or StringFrancesco Rodriguez2012-05-281-3/+17
|/
* Ensure that CollectionAssociation#replace returns proper targetPiotr Sarnacki2012-05-191-2/+2
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-0/+12
* quarantine deprecated testsJon Leighton2012-05-181-121/+8
* Fix CollectionAssociation#replace to return new target (closes #6231)Piotr Sarnacki2012-05-161-0/+12
* Remove #=== quirkJon Leighton2012-05-111-6/+0
* CollectionProxy < RelationJon Leighton2012-05-111-4/+17
* Fix issue with private kernel methods and collection associations. Closes #2508Carlos Antonio da Silva2012-05-021-0/+5
* remove deprecated callsJon Leighton2012-04-271-2/+2
* find and replace deprecated keysJon Leighton2012-04-271-24/+24
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-57/+57