aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Revert "context in validation goes through has many relationship"Aaron Patterson2014-02-201-10/+0
* context in validation goes through has many relationshipKevin Casey2014-02-081-0/+10
* Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-311-0/+10
* Fix indent on test case [ci skip]Carlos Antonio da Silva2014-01-281-2/+2
* Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-61/+90
* Merge pull request #10134 from derikson/collection_proxy_select_with_multiple...Rafael Mendonça França2014-01-031-1/+5
|\
| * Changed ActiveRecord::Associations::CollectionProxy#select to take multiple a...Dan Erikson2013-04-081-1/+5
* | Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-191-5/+3
* | changed update counter to act on unscoped modelheruku2013-11-261-0/+8
* | Raise `RecordNotDestroyed` when children can't be replacedBrian Thomas Storti2013-11-251-0/+11
* | Fix some minor typos [ci skip]Vipul A M2013-11-261-1/+1
* | Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-0/+9
* | Checks to see if the record contains the foreign_key to set the inverse autom...Edo Balvers2013-11-161-0/+4
* | Fix wrong behavior where associations with dependent: :destroy optionsRafael Mendonça França2013-11-011-4/+3
* | Test with the right associationRafael Mendonça França2013-11-011-3/+3
* | Fix broken delete_all test, which will now be failing since #delete_all is br...David Heinemeier Hansson2013-10-281-4/+4
* | 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