aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-216-8/+8
* Update other counter caches on destroyIan Young2013-03-202-2/+2
* Properly named variable inside blockAnupam Choudhury2013-03-201-2/+2
* Calling find() on an association with an inverse will now check to seewangjohn2013-03-191-2/+3
* 1. Change from each to each_value since we did not use keyVipul A M2013-03-191-1/+1
* If a counter_cache is defined, then using update_attributes and changingJohn Wang2013-03-151-0/+20
* Cache the association proxy objectJon Leighton2013-03-151-1/+1
* Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-2/+3
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-153-9/+11
* hide more data in the schema cacheAaron Patterson2013-03-141-1/+1
* dependent: :destroy should call destroy_allNeeraj Singh2013-03-111-2/+3
* Show warning message if delete_all is firing callbacksNeeraj Singh2013-03-111-0/+9
* 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