aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* revises most Lint/EndAlignment offensesXavier Noria2016-08-071-5/+5
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies remaining conventions across the projectXavier Noria2016-08-068-26/+16
* normalizes indentation and whitespace across the projectXavier Noria2016-08-069-391/+391
* modernizes hash syntax in activerecordXavier Noria2016-08-065-7/+7
* applies new string literal convention in activerecord/libXavier Noria2016-08-069-20/+20
* Avoid duplicated `set_inverse_instance` for target scopeRyuta Kamizono2016-08-033-23/+16
* Remove unnecessary `set_inverse_instance` in finder methodsRyuta Kamizono2016-08-021-6/+2
* Merge pull request #25941 from kamipo/finder_methods_uses_load_targetRafael França2016-07-281-1/+1
|\
| * `FinderMethods` uses `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-07-281-1/+1
* | Merge pull request #25940 from kamipo/fix_collection_proxy_loadRafael França2016-07-281-0/+6
|\ \
| * | Fix to `CollectionProxy#load` does `load_target`Ryuta Kamizono2016-07-251-0/+6
| |/
* | Remove circular join references in join_dependencyTakashi Kokubun2016-07-281-1/+3
* | `load_target` is a public methodRyuta Kamizono2016-07-231-1/+1
|/
* Add `exists?` and `update_all` to `CollectionProxy` for respects an associati...Ryuta Kamizono2016-07-201-5/+1
* Merge pull request #25578 from kamipo/move_warning_about_composite_primary_ke...Rafael França2016-07-201-2/+4
|\
| * Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-2/+4
* | [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