aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Deprecate #connection in favour of accessing it via the classBen Moss2013-03-091-3/+3
* deal with `#append` and `#prepend` on association collections.Yves Senn2013-03-011-0/+5
* don't use non-ascii ' chars in documentationYves Senn2013-03-011-4/+4
* Fix touching an invalid parent record for belongs_toOlek Janiszewski2013-02-261-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-02-261-1/+1
|\
| * BELONGS TO ASSOCIATION | Typo fixlibin2013-02-251-1/+1
* | No need to send public methodsAkira Matsuda2013-02-262-2/+2
* | don't apply invalid ordering when preloading hmt associations.Yves Senn2013-02-241-2/+2
|/
* don't cache invalid subsets when preloading hmt associations.Yves Senn2013-02-141-1/+2
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-1/+1
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-1/+1
* Refactor to use each_key, remove extra spacesCarlos Antonio da Silva2013-01-281-1/+1
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-4/+8
* 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