aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* | s/scoped/scope/Jon Leighton2012-08-011-1/+1
* | Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-012-18/+49
* | Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-012-0/+171
* | AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-312-4/+4
* | Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-2713-247/+247
* | ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-2711-152/+152
* | Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-246-16/+16
* | rm unnecessary testJon Leighton2012-07-201-7/+0
* | rm redundant testJon Leighton2012-07-201-7/+0
* | Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-202-171/+0
* | Fix class_eval without __FILE__ and __LINE__.kennyj2012-07-181-2/+2
* | fix association :extend optionJon Leighton2012-07-131-1/+1
* | Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-0/+15
* | fix assertion arguments orderJon Leighton2012-07-131-2/+2
* | Allow associations to take a lambda which builds the scopeJon Leighton2012-07-132-1/+8
* | Remove ActiveRelation#inspectBrian Cardarella2012-06-291-1/+1
* | Improve the derivation of HABTM assocation join table namesAndrew White2012-06-221-3/+1