aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* test, regression test for has_many with instance dependent scope.Yves Senn2014-05-091-0/+10
* Remove duplicated fixture additionCarlos Antonio da Silva2014-05-031-1/+1
* Refactor test to not care about the specific result of valid?Carlos Antonio da Silva2014-05-031-3/+4
* Merge pull request #14924 from eric-chahin/issue_13854Matthew Draper2014-05-031-0/+10
|\
| * Fixed custom validation context bug where childEric Chahin2014-05-011-0/+10
* | push up bind params on "simple" subquery calculationsAaron Patterson2014-05-021-1/+7
|/
* add test to check that loaded and non laoded are the sameeileencodes2014-04-281-0/+13
* Remove unused variableRafael Mendonça França2014-04-041-1/+1
* Fix error when using `with_options` with lambda.Lauro Caetano2014-04-031-0/+9
* add test to compare sql statements in delete_all queryeileencodes2014-03-311-1/+16
* Remove unnecessary db call when replacing.Arthur Neves2014-02-281-0/+10
* 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