aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #18109 from k0kubun/unscoped-joinsSean Griffin2016-02-111-6/+12
|\
| * Allow `joins` to be unscopedTakashi Kokubun2016-01-311-6/+12
* | rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-102-8/+8
* | allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-092-0/+18
* | Merge pull request #23457 from matthewd/arel-attributeMatthew Draper2016-02-042-2/+2
|\ \
| * | Defer Arel attribute lookup to the model classMatthew Draper2016-02-042-2/+2
| |/
* | Merge pull request #20997 from himesh-r/issue-20995Arthur Neves2016-02-021-1/+4
|\ \ | |/ |/|
| * Changed id-writer to save join table records based on association primary key...Himesh2016-02-021-1/+4
* | Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-241-0/+5
* | Define `:foreign_type` as a valid option in `SingularAssociation`yui-knk2016-01-193-3/+3
* | `substitute_at` is no longer usedRyuta Kamizono2016-01-141-2/+1
* | Revert "Merge pull request #22486 from methyl/fix-includes-for-groupped-assoc...Yves Senn2015-12-211-5/+1
* | Merge pull request #22486 from methyl/fix-includes-for-groupped-associationYves Senn2015-12-211-1/+5
|\ \
| * | Pass SQL group by values when including scoped associationLucjan Suski2015-12-151-1/+5
* | | Merge pull request #19423 from yuroyoro/fix_performance_regression_of_preload...Aaron Patterson2015-12-181-2/+7
|\ \ \ | |/ / |/| |
| * | Read already loaded association records from association.targetTomohito Ozaki2015-04-171-2/+7
* | | Make sure we touch all the parents when touch_later.Arthur Neves2015-12-061-2/+1
* | | Bugfix collection association #create method …Bogdan Gusiev2015-11-231-4/+8
* | | Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-161-3/+6
* | | Update belongs_to.rbEhsan Yousefi2015-11-081-2/+1
* | | docs, `ActiveRecord::JoinDependency` is not part of the public API.Yves Senn2015-11-071-1/+1
* | | Merge pull request #12071 from Crunch09/outer_joinsSean Griffin2015-10-301-2/+15
|\ \ \
| * | | added ActiveRecord::Relation#left_outer_joinsFlorian Thomas2015-05-191-2/+15
* | | | Ensure `has_and_belongs_to_many` works with `belongs_to_required_by_default`Sean Griffin2015-10-291-2/+2
* | | | Never pass `nil` to `order`Sean Griffin2015-10-294-16/+7
* | | | Revert "Revert "Merge pull request #22026 from akihiro17/fix-preload-associat...Yves Senn2015-10-291-0/+4
* | | | Revert "Merge pull request #22026 from akihiro17/fix-preload-association"Sean Griffin2015-10-291-4/+0
* | | | Set `scope.reordering_value` to `true` if :reordering values are specifiedakihiro172015-10-301-0/+4
* | | | Merge pull request #18383 from scambra/habtm-with-where-includes-16032-for-ma...Rafael Mendonça França2015-10-271-1/+2
|\ \ \ \
| * | | | Includes HABTM returns correct size now. It's caused by the join dependencySergio Cambra2015-01-071-2/+3
* | | | | [ci skip] Add doc for preloader_forschneems2015-10-261-0/+4
* | | | | [ci skip] Clarify doc for preloaders_for_oneschneems2015-10-261-0/+5
* | | | | [ci skip] Add doc to preloaders_onschneems2015-10-261-0/+1
* | | | | Merge pull request #19686 from tsun1215/index_errorsSean Griffin2015-10-261-1/+1
|\ \ \ \ \
| * | | | | Errors can be indexed with nested attributesMichael Probber2015-04-171-1/+1
* | | | | | [ci skip] Fix method documentation locationschneems2015-10-261-3/+2
* | | | | | Merge pull request #21918 from bogdan/refactor-preloaderSean Griffin2015-10-221-42/+30
|\ \ \ \ \ \
| * | | | | | Refactored association preloader for performanceBogdan Gusiev2015-10-221-42/+30
* | | | | | | Fix merge conflicts for #19938Sean Griffin2015-10-201-6/+5
|\ \ \ \ \ \ \
| * | | | | | | Fix for activerecord join dependency instantiate bugMehmet Emin İNAÇ2015-05-041-6/+5
| | |_|_|/ / / | |/| | | | |
* | | | | | | Changed the order of Association constraints from where->order->unscope to un...kal2015-10-201-1/+1
* | | | | | | Delete needless `require 'active_support/deprecation'`yui-knk2015-10-202-4/+0
* | | | | | | applies new doc guidelines to Active Record.Yves Senn2015-10-141-9/+9
* | | | | | | fix broken RDoc markup. Use `<tt>` instead of `+`. [ci skip]Yves Senn2015-10-141-3/+3
* | | | | | | docs, add missing `:nodoc: for `Associations::Builder`. [ci skip]Yves Senn2015-10-137-9/+9
* | | | | | | nodoc `ActiveRecord::ForeignAssociation`. [ci skip]Yves Senn2015-10-131-1/+1
* | | | | | | Merge pull request #11410 from bogdan/increment-concurencyJeremy Daer2015-10-102-35/+21
|\ \ \ \ \ \ \
| * | | | | | | Make #increment! and #decrement! methods concurency safeBogdan Gusiev2015-10-052-35/+21
* | | | | | | | Merge pull request #21033 from dgynn/preloader_build_scope_tuningArthur Nogueira Neves2015-10-041-1/+3
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | skip _select! call unless :select values are specifiedDave Gynn2015-07-261-1/+3
| | |_|_|_|_|/ | |/| | | | |