aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* pass the mixin in to the code generation methodsAaron Patterson2013-07-313-11/+11
* we should not allow invalid objects to be constructedAaron Patterson2013-07-311-1/+2
* push some validation up to the factory methodAaron Patterson2013-07-311-4/+5
* use bind values for model typesAaron Patterson2013-07-311-2/+3
* only calculate the klass onceAaron Patterson2013-07-291-1/+2
* Refactor to use flat_mapCarlos Antonio da Silva2013-07-231-3/+3
* eliminate conditional in JoinHelperAaron Patterson2013-07-231-1/+1
* add a specific factory method rather than using newAaron Patterson2013-07-234-5/+5
* extract mutation from generation methodAaron Patterson2013-07-231-1/+1
* AR::Base does not need to know how to create reflection objectsAaron Patterson2013-07-221-1/+1
* remove unnecessary readerAaron Patterson2013-07-221-4/+4
* only flatten one sideAaron Patterson2013-07-221-1/+1
* extend by adding relationships rather than monkey patchingAaron Patterson2013-07-221-5/+7
* decouple extensions from association object stateAaron Patterson2013-07-221-2/+2
* Revert "Merge pull request #11416 from tigrish/master"Yves Senn2013-07-222-2/+2
* Merge pull request #11416 from tigrish/masterYves Senn2013-07-212-2/+2
|\
| * Remove ambiguity with pluralizations and I18n keys used for association restr...Christopher Dell2013-07-132-2/+2
* | use the superclass implementationAaron Patterson2013-07-181-1/+1
* | parent_table is only used internallyAaron Patterson2013-07-161-4/+4
* | decouple the manager class from building join constraintsAaron Patterson2013-07-161-6/+6
* | cache the klass member of the reflectionAaron Patterson2013-07-161-8/+10
* | cache the scope chain on the stack and eliminate `i`Aaron Patterson2013-07-161-7/+4
* | just push on to the scope chain items. Oops! (thanks @carlosantoniodasilva)Aaron Patterson2013-07-161-2/+1
* | use Relation#merge to combine scope chain itemsAaron Patterson2013-07-161-6/+6
* | make sure scope_chain_items has consistent typesAaron Patterson2013-07-161-7/+9
|/
* #11288: Removed duplicated touchingPaul Nikitochkin2013-07-051-1/+1
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-035-11/+4
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-032-16/+11
* Removed support for deprecated `insert_sql` in associations.Neeraj Singh2013-07-022-10/+6
* fix indentationNeeraj Singh2013-07-021-14/+14
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-023-41/+6
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-024-18/+14
* Merge pull request #10604 from neerajdotname/delete_all_should_not_call_callb...Rafael Mendonça França2013-07-012-15/+31
|\
| * Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-302-15/+31
* | Removed deprecated options for assocationsNeeraj Singh2013-07-022-19/+0
* | Removed deprecated method scopedNeeraj Singh2013-07-011-5/+0
* | don't shadow `through_scope` method name with local var.Yves Senn2013-06-301-7/+7
|/
* Simplify/fix implementation of default scopesJon Leighton2013-06-284-9/+3
* Apply default scope when joining associations.Jon Leighton2013-06-281-0/+2
* do not load all child records for inverse caseNeeraj Singh2013-06-211-1/+1
* Revert "Merge pull request #10566 from neerajdotname/10509d"Jon Leighton2013-06-191-1/+1
* do not load all child records for inverse caseNeeraj Singh2013-06-191-1/+1
* `CollectionProxy#include?` returns `true` and `false` as documented.Yves Senn2013-06-181-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-06-141-3/+4
|\
| * enhanced comments for foreign_key_present? methodNeeraj Singh2013-05-231-3/+4
* | bind values should not be merged between scopesAaron Patterson2013-06-111-1/+1
* | stop adding a new method for touch callbacksAaron Patterson2013-06-111-29/+21
* | push the touch method outside the evalAaron Patterson2013-06-111-13/+34
* | remove unused variableAaron Patterson2013-06-111-1/+0
* | check whether the association is constructible rather than checking constantsAaron Patterson2013-06-111-3/+3