aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* pass the preloader down so we only have to construct oneAaron Patterson2013-09-237-21/+21
* remove state from the preloaderAaron Patterson2013-09-232-27/+16
* pass the scope all the way down to the constructorsAaron Patterson2013-09-231-10/+10
* only do the should_reset test onceAaron Patterson2013-09-231-6/+6
* fix variable names and speed up relation orderingAaron Patterson2013-09-232-16/+12
* hm:t preloading will respect order set on the RHS associationAaron Patterson2013-09-235-8/+53
* cache associated target records hashAaron Patterson2013-09-201-17/+11
* combine methods so we can reuse preloadersAaron Patterson2013-09-201-19/+18
* return a list rather than hashAaron Patterson2013-09-201-7/+13
* preserve order on the RHS queryAaron Patterson2013-09-201-0/+8
* split up construction and mutationAaron Patterson2013-09-201-1/+4
* fix method nameAaron Patterson2013-09-201-3/+5
* access preloaders independently of model mutationsAaron Patterson2013-09-201-12/+12
* push running the preloaders upAaron Patterson2013-09-201-19/+7
* push `run` up to preloadAaron Patterson2013-09-203-14/+41
* the hash should only ever be length one, so decompose itAaron Patterson2013-09-201-4/+5
* stop depending on preloader interals so we can create fewer preloaderAaron Patterson2013-09-201-19/+23
* lhs preload is always a single preload, so just preload oneAaron Patterson2013-09-201-3/+3
* just read the attribute rather than `send`ingAaron Patterson2013-09-201-1/+1
* extract exception raising, clean up group_by statementAaron Patterson2013-09-201-6/+7
* generate fewer objects when groupingAaron Patterson2013-09-201-5/+7
* do not access internal data structuresAaron Patterson2013-09-201-1/+1
* exposing target records on the preloaderAaron Patterson2013-09-202-16/+29
* Merge pull request #12137 from lann/fix_association_first_lastRafael Mendonça França2013-09-121-3/+1
|\
| * Make CollectionAssociation first/last with integer fetch with queryLann Martin2013-09-091-3/+1
* | Merge pull request #12135 from dylanahsmith/avoid_empty_transactionRafael Mendonça França2013-09-111-1/+3
|\ \
| * | Avoid empty transaction from setting has_one association on new record.Dylan Thacker-Smith2013-09-111-1/+2
* | | WhitespacesRafael Mendonça França2013-09-111-1/+2
* | | Merge pull request #12185 from SamSaffron/join_depRafael Mendonça França2013-09-111-1/+13
|\ \ \
| * | | Reduce allocations when extracting AR modelsSam2013-09-111-1/+13
* | | | fix deleting join models with no pkAaron Patterson2013-09-111-1/+15
| |/ / |/| |
* | | ask the association for records rather than calling `send`Aaron Patterson2013-09-101-1/+2
|/ /
* / hm:t join tables may not have a primary keyAaron Patterson2013-09-061-1/+5
|/
* support anonymous classes on has_many associationsAaron Patterson2013-09-031-1/+1
* Remove useless comment and white spaces :scissors: [ci skip]Carlos Antonio da Silva2013-09-012-3/+2
* reduce relation allocationsAaron Patterson2013-08-301-1/+3
* require a class for cache computationsAaron Patterson2013-08-301-1/+1
* correctly typecast keys, remove conditionals, reduce object allocationsAaron Patterson2013-08-282-7/+11
* no need to to_a the scopeAaron Patterson2013-08-281-1/+1
* remove extra flat_map arrayAaron Patterson2013-08-281-8/+9
* avoid extra empty array allocationAaron Patterson2013-08-281-10/+10
* extract owner id calculation to a methodAaron Patterson2013-08-281-1/+5
* only call to_a when we have toAaron Patterson2013-08-282-2/+6
* remove intermediate variableAaron Patterson2013-08-271-3/+1
* cache association reset calculationAaron Patterson2013-08-271-4/+4
* query the association rather than send the method for the association nameAaron Patterson2013-08-271-5/+6
* Stray nodoc causes rest of file not parsed [ci skip]edogawaconan2013-08-221-2/+0
* Restore the use of `#add_to_target` for nested attribute updates on existing ...Ben Woosley2013-08-121-4/+4
* use flat_mapNeeraj Singh2013-08-031-1/+1
* use drop and avoid a range objectAaron Patterson2013-08-011-1/+1