aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Fix undefined method `to_i' introduced since 3.2.8Jason Stirk2013-01-041-0/+12
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-033-8/+9
* Standardize the use of current_adapter?Rafael Mendonça França2013-01-011-1/+1
* Fix for has_many_through counter_cache bugMatthew Robertson2012-12-141-0/+11
* 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
* | Do not instantiate intermediate AR objects when eager loading.Yves Senn2012-12-041-0/+6
* | Remove not used variable warnignsCarlos Antonio da Silva2012-12-011-4/+4
* | User assert_kind_of, invert assert_equal expectationsCarlos Antonio da Silva2012-11-293-9/+9
* | Added STI support to init and building associationsJason Rush2012-11-293-0/+86
|/
* 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-123-18/+25
* Do not create useless database transaction when building `has_one` association.Bogdan Gusiev2012-11-101-0/+6
* 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
|/
* Fix issue with collection associations and first(n)/last(n)Carlos Antonio da Silva2012-11-011-0/+13
* Merge pull request #7887 from senny/remove_unused_requires_in_ar_testsVijay Dev2012-10-101-1/+0
|\
| * remove duplicated require statements in AR test casesYves Senn2012-10-091-1/+0
* | Fix has_many assocation w/select load after createErnie Miller2012-10-051-0/+8
|/
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-052-2/+2
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-052-2/+2
* Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-033-0/+18
* Fix destructive side effects from marshaling an association caused by 65843e1...Jeremy Kemper2012-09-251-2/+5
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-183-82/+0
|\
| * Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-162-29/+0
| * Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-163-53/+0
* | Merge pull request #7661 from ernie/build-join-records-on-unsaved-hmtRafael Mendonça França2012-09-171-0/+5
|\ \
| * | Fix collection= on hm:t join models when unsavedErnie Miller2012-09-171-0/+5
* | | 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
|/
* Merge pull request #4976 from kreynolds/fix_eager_without_pkeyJon Leighton2012-09-071-0/+8
|\
| * Change JoinPart test from an integration to a unit testKelley Reynolds2012-07-052-13/+8
| * Fix eagerly loading associations without primary keysKelley Reynolds2012-02-091-0/+13
* | Add a test to make sure preloading properly merges association and default sc...Pratik Naik2012-08-281-0/+12
* | Use inversed parent for first and last child of has_many associationbrainopia2012-08-181-0/+6
* | Use method compilation for association methodsJon Leighton2012-08-102-3/+3
* | Remove the dependent_restrict_raises option.Jon Leighton2012-08-102-67/+30
* | Fix #7191. Remove unnecessary transaction when assigning has_one associations.kennyj2012-08-081-0/+13
* | removes usage of Object#in? from the code base (the method remains defined by...Xavier Noria2012-08-061-2/+2
* | Remove ActiveRecord::Base.to_aJon Leighton2012-08-032-3/+3
* | load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-1/+0