aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Removed where_values_hash from AR::NullRelationPaul Nikitochkin2013-09-281-0/+23
* fix .find when inverse is setArthur Neves2013-09-251-0/+12
* Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-0/+7
* Make CollectionAssociation first/last with integer fetch with queryLann Martin2013-09-091-3/+5
* support anonymous classes on has_many associationsAaron Patterson2013-09-031-0/+18
* Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-2/+2
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-15/+0
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-114/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-24/+0
* Merge pull request #10604 from neerajdotname/delete_all_should_not_call_callb...Rafael Mendonça França2013-07-011-2/+25
|\
| * Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-301-2/+25
* | Removed deprecated options for assocationsNeeraj Singh2013-07-021-10/+0
|/
* Fix `another_contract` not being used warningVipul A M2013-06-241-1/+1
* test-case to prevent regressions described in #10901.Jared Armstrong2013-06-241-0/+27
* test-case to prevent regressions on `Association#build` with an Array.Yves Senn2013-06-221-0/+10
* `CollectionProxy#include?` returns `true` and `false` as documented.Yves Senn2013-06-181-11/+11
* Remove #sum with a block was deprecated.kennyj2013-06-011-6/+0
* Fix the `:primary_key` option for `has_many` associations.Yves Senn2013-05-231-0/+8
* Update counter cache when pushing into associationMatthew Robertson2013-04-211-0/+9
* If a counter_cache is defined, then using update_attributes and changingJohn Wang2013-03-151-0/+31
* Remove warningRafael Mendonça França2013-02-241-1/+1
* test case to prevent duplicated associations with custom PK.Yves Senn2013-02-241-0/+10
* Fix cases where delete_records on a has_many association caused errorsDerek Kraan2013-01-271-1/+19
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-7/+7
* Merge pull request #8989 from robertomiranda/use-rails-4-find-byGuillermo Iguaran2013-01-181-7/+7
|\
| * User Rails 4 find_byrobertomiranda2013-01-181-7/+7
* | Undeprecate the :extend optionJon Leighton2013-01-181-0/+12
* | CollectionProxy should be default scopedJon Leighton2013-01-181-0/+5
* | `CollectionAssociation#empty?` respects newly builded recordsYves Senn2013-01-131-0/+7
|/
* 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