aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Never pass `nil` to `order`Sean Griffin2015-10-291-6/+0
* Revert "Revert "Merge pull request #22026 from akihiro17/fix-preload-associat...Yves Senn2015-10-291-0/+18
* Revert "Merge pull request #22026 from akihiro17/fix-preload-association"Sean Griffin2015-10-291-18/+0
* Merge pull request #19501 from ccutrer/dry_sti_subclass_finding2Sean Griffin2015-10-291-2/+2
|\
| * Fix merge conflicts from #19501Sean Griffin2015-10-291-2/+2
| |\
| | * DRY up STI subclass logicCody Cutrer2015-03-241-2/+2
* | | Set `scope.reordering_value` to `true` if :reordering values are specifiedakihiro172015-10-301-0/+18
|/ /
* | Merge pull request #18548 from sebjacobs/support-bidirectional-destroy-depend...Sean Griffin2015-10-281-0/+41
|\ \
| * | Add support for bidirectional destroy dependenciesSeb Jacobs2015-01-161-0/+41
* | | Merge pull request #18383 from scambra/habtm-with-where-includes-16032-for-ma...Rafael Mendonça França2015-10-271-0/+19
|\ \ \
| * | | Includes HABTM returns correct size now. It's caused by the join dependencySergio Cambra2015-01-071-0/+19
| |/ /
* | | Tweaked wording used in some tests.Sebastian McKenzie2015-10-251-4/+4
* | | Fix merge conflicts for #19938Sean Griffin2015-10-201-0/+12
|\ \ \
| * | | Fix for activerecord join dependency instantiate bugMehmet Emin İNAÇ2015-05-041-0/+12
* | | | Reorder application of has_many association constraints.jbranchaud2015-10-191-0/+20
* | | | Fix regression in inverse_of on through associationseileencodes2015-09-261-0/+13
* | | | Merge pull request #21550 from didacte/unscope-associationsSean Griffin2015-09-241-0/+21
|\ \ \ \
| * | | | Include association's `unscope` when preloadingJimmy Bourassa2015-09-091-0/+21
* | | | | Don't rely on subsecond precision being applied in testsSean Griffin2015-09-232-2/+6
* | | | | Merge pull request #21581 from ronakjangir47/restrict_with_errorYves Senn2015-09-172-0/+37
|\ \ \ \ \
| * | | | | `restrict_with_error` message will now respect owner’s human name in any lo...Ronak Jangir2015-09-122-0/+37
|/ / / / /
* / / / / HasManyAssociation: moved half of counter cache code to reflectionBogdan Gusiev2015-09-031-1/+1
|/ / / /
* | | | Removed duplicate require ‘models/computer’Ronak Jangir2015-08-261-1/+0
* | | | Removed mocha from Active Record Part 1Ronak Jangir2015-08-253-35/+42
* | | | Only nullify persisted has_one target associationsAgis-2015-08-241-0/+8
* | | | Merge pull request #21284 from prakashlaxkar/argument_error_testsYves Senn2015-08-181-0/+8
* | | | Merge pull request #19683 from tristang/require-option-for-counter-cacheRafael Mendonça França2015-08-132-0/+40
|\ \ \ \
| * | | | Add tests for associations without counter_cacheTristan Gamilis2015-04-092-0/+40
* | | | | use `assert_not` instead of `refute` as mentioned in our guides.Yves Senn2015-08-131-2/+2
* | | | | Skip statement cache on through association readerRafael Mendonça França2015-08-122-9/+58
* | | | | use correct DB connection for generated HABTM tableMatt Hanlon2015-08-071-0/+12
* | | | | Use memoization for collection associations ids readerMehmet Emin İNAÇ2015-08-031-0/+8
* | | | | Merge pull request #20849 from vngrs/misleading_nested_exceptionsRafael Mendonça França2015-07-272-1/+8
|\ \ \ \ \
| * | | | | Fix misleading errors for has_one through relationsMehmet Emin İNAÇ2015-07-222-1/+8
* | | | | | `destroy` shouldn't raise when child associations fail to saveSean Griffin2015-07-241-0/+30
|/ / / / /
* | | | | Deprecate and rename the keys for association restrict_dependent_destroyRoque Pinel2015-07-202-0/+39
* | | | | Silence deprecation warning from force reloadPrem Sichanugrist2015-07-167-87/+98
* | | | | Deprecate force association reload by passing truePrem Sichanugrist2015-07-156-0/+36
* | | | | Correct through associations using scopesSean Griffin2015-06-301-0/+7
* | | | | Merge pull request #20552 from jamesdabbs/belongs-to-polymorphic-force-reloadYves Senn2015-06-231-0/+2
|\ \ \ \ \
| * | | | | Fix `undefined method uncached` for polymorphic belongs_to #20426James Dabbs2015-06-131-0/+1
* | | | | | Merge pull request #20545 from dcrec1/20541Yves Senn2015-06-231-0/+26
|\ \ \ \ \ \
| * | | | | | thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for...Diego Carrion2015-06-221-0/+18
|/ / / / / /
* / / / / / raise ActiveModel::MissingAttributeError when trying to access a relationship...Diego Carrion2015-06-161-0/+4
|/ / / / /
* | | | | add `extend` option on `has_and_belongs_to_many`.keepcosmos2015-05-261-0/+15
* | | | | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-264-11/+11
* | | | | remove duplicate test.Yves Senn2015-05-081-10/+2
* | | | | AR::RecordNotSaved & RecordNotDestroyed should include an error messageYuki Nishijima2015-05-011-1/+2
| |/ / / |/| | |
* | | | Rename association option :class to :anonymous_classAndrew White2015-04-213-14/+14
* | | | Batch touch parent recordsArthur Neves2015-04-081-0/+18
|/ / /