aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-3/+3
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-011-3/+13
|\
| * copy edits [ci skip]Vijay Dev2012-12-011-1/+1
| * add documentation to CollectionProxy #length and #size methods [ci skip]Francesco Rodriguez2012-11-291-2/+7
| * add documentation to CollectionProxy#empty?Francesco Rodriguez2012-11-291-1/+6
* | Use separate Relation subclasses for each AR classJon Leighton2012-11-302-3/+3
* | Ensure that associations have a symbol argument.Steve Klabnik2012-11-281-0/+2
|/
* Merge pull request #8291 from senny/8265_build_with_polymorphic_associationRafael Mendonça França2012-11-221-1/+2
|\
| * prevent mass assignment of polymorphic type when using `build`Yves Senn2012-11-221-1/+2
* | Remove the #sum method from CollectionAssociationCarlos Antonio da Silva2012-11-211-9/+0
|/
* Do not create useless database transaction when building `has_one` association.Bogdan Gusiev2012-11-101-1/+9
* fix warningsJon Leighton2012-11-091-1/+1
* Merge pull request #8116 from senny/7993_configure_counter_cache_for_has_manyJon Leighton2012-11-092-2/+2
|\
| * :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-042-2/+2
* | Delegate all calculations to the scope.Jon Leighton2012-11-091-4/+2
* | CollectionProxy#pluck issues no query for a new_record? ownerJon Leighton2012-11-091-0/+4
* | Nullify the relation at a more general level.Jon Leighton2012-11-092-6/+13
* | Relations built off collection associations with an unsaved owner should be n...Jon Leighton2012-11-091-2/+3
* | adding requires for constant dependenciesAaron Patterson2012-11-071-0/+3
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-034-6/+6
|\
| * This is comment for singular association.kennyj2012-11-021-1/+1
| * fix a typo in comments to ActiveRecord::Associations::Association.stale_stateAndrii Dovgaliuk2012-10-241-1/+1
| * Migration of docs to 1.9 hash syntaxAvnerCohen2012-10-232-4/+4
* | Fix issue with collection associations and first(n)/last(n)Carlos Antonio da Silva2012-11-011-1/+3
* | Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-301-1/+1
* | Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-291-1/+1
* | Remove ActiveRecord::ModelJon Leighton2012-10-261-1/+1
|/
* Eager autoload Preloader classesJohn Firebaugh2012-10-101-10/+14
* Fix has_many assocation w/select load after createErnie Miller2012-10-051-1/+1
* Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-053-4/+4
* Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-053-4/+4
* Count returns 0 without querying if parent is not savedFrancesco Rodriguez2012-10-031-0/+2
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-281-24/+8
|\
| * fix AR::Associations::CollectionProxy#delete broken documentation [ci skip]Francesco Rodriguez2012-09-211-23/+2
| * update AR::Associations::CollectionProxy#loaded? documentation [ci skip]Francesco Rodriguez2012-09-211-1/+6
* | Fix destructive side effects from marshaling an association caused by 65843e1...Jeremy Kemper2012-09-251-5/+2
|/
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-185-30/+29
|\
| * Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-165-29/+29
| * Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-1/+0
* | Merge pull request #7661 from ernie/build-join-records-on-unsaved-hmtRafael Mendonça França2012-09-171-0/+14
|\ \ | |/ |/|
| * Fix collection= on hm:t join models when unsavedErnie Miller2012-09-171-0/+14
* | Remove debug code :bomb:Rafael Mendonça França2012-09-161-1/+0
* | Don't preserve SELECT columns on COUNTSteve Klabnik2012-09-161-1/+2
|/
* Update documentation for CollectionProxyMarc-Andre Lafortune2012-09-121-8/+2
* Merge pull request #4976 from kreynolds/fix_eager_without_pkeyJon Leighton2012-09-071-1/+1
|\
| * Fix eagerly loading associations without primary keysKelley Reynolds2012-02-091-1/+1
* | Fix grammarJo Liss2012-08-301-3/+3
* | Use inversed parent for first and last child of has_many associationbrainopia2012-08-181-1/+1
* | Use method compilation for association methodsJon Leighton2012-08-105-64/+62
* | DRY up handling of dependent optionJon Leighton2012-08-105-63/+22