aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #26448 from kamipo/remove_collection_association_uniqKasper Timm Hansen2016-09-181-1/+0
|\
| * Remove unnecessry `alias uniq distinct` for collection associationRyuta Kamizono2016-09-101-1/+0
* | Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-17/+17
|/
* Merge pull request #26380 from kamipo/pass_set_inverse_instance_blockKasper Timm Hansen2016-09-081-2/+2
|\
| * Pass `set_inverse_instance` block to `sc.execute` for `SingularAssociation`Ryuta Kamizono2016-09-031-2/+2
* | Revert " [ci skip] Remove duplicate example."Vipul A M2016-09-061-0/+5
* | Merge pull request #26410 from aditya-kapoor/rm-dupsVipul A M2016-09-061-5/+0
|\ \
| * | [ci skip] Remove duplicate example.Aditya Kapoor2016-09-061-5/+0
* | | Remove redundant `!loaded?` conditionRyuta Kamizono2016-09-061-2/+2
* | | Merge pull request #26379 from kamipo/remove_unnecessary_query_scopeAndrew White2016-09-051-4/+0
|\ \ \ | |/ / |/| |
| * | Remove unnecessary `query_scope`Ryuta Kamizono2016-08-161-4/+0
* | | Remove unnecessary `count` method for collection proxyRyuta Kamizono2016-09-042-36/+14
* | | Extract duplicated `create` and `create!` definition for associationRyuta Kamizono2016-09-033-16/+8
| |/ |/|
* | 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