aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Fix counter_cache double increment bugTom Kadwill2016-04-281-0/+11
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-0/+14
* Merge pull request #22518 from RochesterinNYC/better-error-message-for-includ...Arthur Nogueira Neves2016-03-181-0/+17
|\
| * Improve clarity of error message for missing includes and eager_loadJames Wen2016-01-281-0/+17
* | don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-0/+12
* | Remove duplicated `test_` prefix [ci skip]Ryuta Kamizono2016-03-021-1/+1
* | Respect through association scopes when used with polymorphicSean Griffin2016-02-291-0/+7
* | Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-0/+32
|\ \
| * | Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-021-0/+32
* | | remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-224-10/+10
* | | fix typoLobsiinvok2016-02-201-1/+1
* | | eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-0/+13
* | | rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-4/+4
* | | allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+10
* | | Typos in AR testsAkira Matsuda2016-02-041-1/+1
* | | Typos in AR testsAkira Matsuda2016-02-032-6/+6
* | | Merge pull request #20997 from himesh-r/issue-20995Arthur Neves2016-02-021-1/+1
|\ \ \ | |_|/ |/| |
| * | Changed id-writer to save join table records based on association primary key...Himesh2016-02-021-1/+1
* | | Revert "Merge pull request #22486 from methyl/fix-includes-for-groupped-assoc...Yves Senn2015-12-211-17/+0
* | | Merge pull request #22486 from methyl/fix-includes-for-groupped-associationYves Senn2015-12-211-0/+17
|\ \ \
| * | | Pass SQL group by values when including scoped associationLucjan Suski2015-12-151-0/+13
* | | | Merge pull request #19423 from yuroyoro/fix_performance_regression_of_preload...Aaron Patterson2015-12-181-0/+6
|\ \ \ \
| * | | | Read already loaded association records from association.targetTomohito Ozaki2015-04-171-0/+6
* | | | | Remove legacy mysql adapterAbdelkader Boudih2015-12-171-1/+1
| |/ / / |/| | |
* | | | Bugfix collection association #create method …Bogdan Gusiev2015-11-231-0/+6
* | | | Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-161-1/+14
* | | | Merge pull request #22125 from k0kubun/left_joinsSean Griffin2015-10-301-0/+5
|\ \ \ \
| * | | | Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-0/+5
* | | | | Fix test failures caused by #12071Sean Griffin2015-10-301-10/+10
|/ / / /
* | | | Merge pull request #12071 from Crunch09/outer_joinsSean Griffin2015-10-301-0/+74
|\ \ \ \
| * | | | added ActiveRecord::Relation#left_outer_joinsFlorian Thomas2015-05-191-0/+74
* | | | | Ensure `has_and_belongs_to_many` works with `belongs_to_required_by_default`Sean Griffin2015-10-291-0/+6
* | | | | 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