aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-012-3/+3
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-316-13/+27
* Remove unnecessary `any?` and `many?` methods for collection proxyRyuta Kamizono2016-08-192-28/+12
* Remove unnecessary `length` method for collection proxyRyuta Kamizono2016-08-192-12/+6
* Merge pull request #25989 from kamipo/remove_unnecessary_select_for_collectio...Rafael França2016-08-192-11/+6
|\
| * Remove unnecessary `select` method for `CollectionProxy`Ryuta Kamizono2016-08-182-11/+6
* | Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-182-2/+6
|\ \
| * | Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-302-2/+4
* | | Remove unnecessary ordinal methods for collection associationRyuta Kamizono2016-08-182-91/+74
| |/ |/|
* | Merge pull request #25976 from kamipo/pluck_uses_loaded_targetRafael França2016-08-171-1/+12
|\ \
| * | `pluck` should use `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-08-041-1/+12
* | | Fix inconsistent the signature of finder methods for collection associationRyuta Kamizono2016-08-162-40/+38
* | | `CollectionProxy#take` should respect dirty targetRyuta Kamizono2016-08-142-15/+11
* | | code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
* | | 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
|\ \