aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Undeprecate the :extend optionJon Leighton2013-01-182-1/+3
* CollectionProxy should be default scopedJon Leighton2013-01-181-0/+1
* `CollectionAssociation#empty?` respects newly builded recordsYves Senn2013-01-131-1/+1
* Merge pull request #8568 from inossidabile/fix-in_clause_lengthJon Leighton2013-01-111-1/+1
|\
| * Eager loading made to use relation's in_clause_length instead of host's one (...Boris Staal2012-12-201-1/+1
* | Merge pull request #8823 from acapilleri/target_reflection_has_associated_recordCarlos Antonio da Silva2013-01-081-5/+1
|\ \
| * | target_reflection_has_associated_record? refactoringAngelo Capilleri2013-01-081-5/+1
* | | Merge pull request #8826 from acapilleri/different_targetCarlos Antonio da Silva2013-01-081-2/+5
|\ \ \
| * | | improved different_target conditionsAngelo Capilleri2013-01-081-2/+5
| |/ /
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-091-2/+2
|\ \ \ | |/ / |/| |
| * | prefer american spelling of 'behavior'Gosha Arinich2013-01-071-2/+2
| |/
* | Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
* | refactoring to_sym of Symbol in preloadAngelo capilleri2013-01-021-1/+3
|/
* Fix for has_many_through counter_cache bugMatthew Robertson2012-12-141-0/+5
* 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
|/