aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-09-181-1/+1
|\
| * [ci skip] Fix module name of documentyui-knk2015-09-171-1/+1
* | `restrict_with_error` message will now respect owner’s human name in any lo...Ronak Jangir2015-09-122-2/+2
* | Merge pull request #21486 from bogdan/refactor-has-many-counter-cacheEileen M. Uchitelle2015-09-092-61/+10
|\ \
| * | HasManyAssociation: moved half of counter cache code to reflectionBogdan Gusiev2015-09-032-61/+10
| |/
* / Added nodoc for `arel` method which returns object of private api. [ci skip]Ronak Jangir2015-09-091-1/+1
|/
* Only nullify persisted has_one target associationsAgis-2015-08-241-1/+1
* Added docs for CollectionProxy#take [ci skip]Ronak Jangir2015-08-231-0/+25
* Correct error message in Standard American english and add a test case for th...prakash2015-08-181-1/+1
* Merge pull request #19683 from tristang/require-option-for-counter-cacheRafael Mendonça França2015-08-131-1/+8
|\
| * Require explicit counter_cache option for has_manyTristan Gamilis2015-04-071-1/+8
* | Skip statement cache on through association readerRafael Mendonça França2015-08-123-12/+10
* | use correct DB connection for generated HABTM tableMatt Hanlon2015-08-071-3/+7
* | Use memoization for collection associations ids readerMehmet Emin İNAÇ2015-08-031-2/+4
* | Fix misleading errors for has_one through relationsMehmet Emin İNAÇ2015-07-221-2/+10
* | Deprecate and rename the keys for association restrict_dependent_destroyRoque Pinel2015-07-202-2/+16
* | Add missing method name to exception descriptionMehmet Emin İNAÇ2015-07-201-1/+1
* | Fix counter_cache for polymorphic associationsStefan Kanev2015-07-191-4/+12
* | [ci skip] Fix typo in #any? RDocAndrii Ponomarov2015-07-171-1/+1
* | Deprecate force association reload by passing truePrem Sichanugrist2015-07-152-0/+16
* | Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-1/+1
* | Correct through associations using scopesSean Griffin2015-06-302-6/+1
* | docs, nodoc `NullPreloader` and `AlreadyLoaded`.Yves Senn2015-06-291-2/+2
* | Merge pull request #20673 from aditya-kapoor/correct-preload-docYves Senn2015-06-231-1/+1
|\ \
| * | [ci skip] correct for ActiveRecord::Associations::Preloader:Aditya Kapoor2015-06-231-1/+2
* | | docs, add missing closing bracket. [ci skip]Yves Senn2015-06-231-1/+1
|/ /
* | Merge pull request #20552 from jamesdabbs/belongs-to-polymorphic-force-reloadYves Senn2015-06-231-1/+1
|\ \
| * | Fix `undefined method uncached` for polymorphic belongs_to #20426James Dabbs2015-06-131-1/+1
* | | thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for...Diego Carrion2015-06-221-3/+6
* | | raise ActiveModel::MissingAttributeError when trying to access a relationship...Diego Carrion2015-06-161-1/+1
|/ /
* | [ci skip] fix the `collection.clear` guideRoque Pinel2015-06-021-7/+8
* | Rename association option :class to :anonymous_classAndrew White2015-04-212-2/+2
* | Autosave existing records on HMT associations when the parent is newSean Griffin2015-04-181-6/+4
* | Batch touch parent recordsArthur Neves2015-04-081-6/+7
|/
* Merge pull request #19647 from codeout/association_updateRafael Mendonça França2015-04-061-0/+2
|\
| * Fix a regression introduced by removing unnecessary db call when replacingShintaro Kojima2015-04-041-0/+2
* | Merge pull request #19448 from tgxworld/fix_activesupport_callbacks_clash_on_runRafael Mendonça França2015-04-061-1/+1
|\ \ | |/ |/|
| * Revert "Reduce allocations when running AR callbacks."Guo Xiang Tan2015-03-221-1/+1
* | Freeze static arguments for gsubbrainopia2015-04-021-1/+1
* | Prefer string patterns for gsubbrainopia2015-04-021-1/+1
|/
* Reuse the CollectionAssociation#reader proxy cache if the foreign key is pres...Ben Woosley2015-03-151-2/+2
* Doc fix about association hierarchykeepcosmos2015-03-151-2/+2
* Isolate access to .default_scopes in ActiveRecord::Scoping::DefaultBen Woosley2015-03-122-4/+2
* Merge pull request #19234 from sivsushruth/doc_fixKasper Timm Hansen2015-03-071-1/+1
|\
| * Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-071-1/+1
* | Updated documentation of CollectionProxy#clear [ci skip]Prathamesh Sonpatki2015-03-061-0/+3
|/
* Preserve Array#take(n) behaviour of HasManyAssociationAkira Matsuda2015-02-282-5/+5
* Require `belongs_to` by default.Josef Šimánek2015-02-213-8/+26
* Merge branch 'rm-take' into 4-1-stableRafael Mendonça França2015-02-202-0/+14
* Merge pull request #16989 from Empact/reload-cache-clearRafael Mendonça França2015-02-201-6/+4
|\