aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* [ci skip] fix a typoYamaguchi.Tomoki2016-07-151-1/+1
* Fixed unnecessary nesting in handle_dependencyHerman Hiddema2016-07-041-7/+5
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-2/+4
* Merge pull request #24862 from maclover7/jm-ar-fixesRafael França2016-05-211-2/+2
|\
| * Add missing `the`Jon Moss2016-05-211-2/+2
* | Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-182-4/+4
* | Merge pull request #24203 from sferik/count_with_blockKasper Timm Hansen2016-05-162-5/+14
|\ \
| * | Forward ActiveRecord::Relation#count to Enumerable#count if block givenErik Michaels-Ober2016-03-192-5/+14
* | | Give more context from `AssociationMismatchError`Sean Griffin2016-05-121-1/+2
* | | Replacement cycle for readabilityMolchanov Andrey2016-05-101-2/+1
| |/ |/|
* | Fix counter_cache double increment bugTom Kadwill2016-04-282-0/+3
* | Allow symbols using "dot notation" to be passed to whereSean Griffin2016-04-121-2/+2
* | Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-0/+1
* | Ensure associations still work when the table name contains a dotSean Griffin2016-03-311-2/+2
|/
* Merge pull request #22518 from RochesterinNYC/better-error-message-for-includ...Arthur Nogueira Neves2016-03-181-1/+1
|\
| * Improve clarity of error message for missing includes and eager_loadJames Wen2016-01-281-1/+1
* | start hiding the `scope_chain` data structureAaron Patterson2016-03-041-1/+1
* | don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-1/+5
* | Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-8/+15
|\ \
| * | Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-022-9/+16
* | | Merge pull request #23794 from matthewd/mutation-safe-to_aMatthew Draper2016-02-212-1/+5
|\ \ \
| * | | Mutating the result of Relation#to_a should not affect the relationMatthew Draper2016-02-212-1/+5
* | | | eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-0/+3
|/ / /
* | | 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