aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* `join_keys` no longer needs a class passed to itAaron Patterson2017-03-031-27/+30
* refactor so there is only one JoinKeys factory methodAaron Patterson2017-03-031-4/+15
* ask reflection for klass join reflectionAaron Patterson2017-03-031-0/+15
* Move join scopes on to the reflection objectAaron Patterson2017-03-031-0/+22
* Fix collection_singular_ids= bugDaniel Colson2017-02-021-2/+2
* Avoid lambda scopes when possibleAaron Patterson2017-01-301-3/+1
* deprecate `scope_chain`Aaron Patterson2017-01-301-0/+2
* update comments and call `super`Aaron Patterson2017-01-301-24/+3
* remove caching until we prove it is requiredAaron Patterson2017-01-301-7/+3
* Fix `scopes` implementation on `PolymorphicReflection`Aaron Patterson2017-01-301-47/+12
* Implement `scopes` method on each Reflectioneileencodes2017-01-301-5/+47
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-01-111-3/+3
|\
| * `meta-data` --> `metadata`Jon Moss2016-12-311-3/+3
* | Improve deprecation message for deprecated reflection class nameRyuta Kamizono2017-01-101-1/+1
* | Deprecate reflection class name to accept a classKir Shatrov2017-01-091-0/+11
* | Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-051-3/+1
* | Raise error when has_many through is defined before through associationChris Holmes2017-01-041-0/+8
* | Raise when a through association has an ambiguous reflection nameRafael Mendonça França2016-12-291-9/+7
|/
* Resolve association class correctly when assigning ids on a through associationMatthew Draper2016-12-091-0/+4
* Add test for collection *_ids= setter when association primary key setDominic Cleal2016-11-241-0/+4
* Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-131-1/+1
|\
| * Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
* | Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-011-10/+1
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* | Merge pull request #25432 from kamipo/polymorphic_reflection_is_not_using_met...Eileen M. Uchitelle2016-10-251-3/+3
|\ \ | |/ |/|
| * `PolymorphicReflection` is not using the methods from `ThroughReflection`Ryuta Kamizono2016-06-211-3/+3
* | explain why autosave= disables inverse_of [ci skip]Xavier Noria2016-10-071-0/+4
* | RuboCop is 100% green :tada:Xavier Noria2016-09-021-12/+13
* | Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-0/+4
|\ \
| * | Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-0/+4
| |/
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* | applies new string literal convention in activerecord/libXavier Noria2016-08-061-2/+2
|/
* Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-121-1/+1
* start hiding the `scope_chain` data structureAaron Patterson2016-03-041-0/+10
* don't build the reflection chain to calculate `nested?`Aaron Patterson2016-03-041-1/+9
* remove useless ivarAaron Patterson2016-03-041-1/+0
* Respect through association scopes when used with polymorphicSean Griffin2016-02-291-1/+1
* build scope chain functionally and remove cachingAaron Patterson2016-02-101-14/+40
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-02-071-10/+13
|\
| * fix indentationVijay Dev2016-02-071-1/+1
| * [ci skip] Update internal documents about ActiveRecord's Reflectionyui-knk2016-01-301-11/+14
* | Remove unnecessary overriding of `#initialize`yui-knk2016-02-021-12/+0
* | Remove `case macro` from `calculate_constructable`yui-knk2016-02-011-8/+13
* | Each concrete classes have responsibility to return `association_class`yui-knk2016-01-311-22/+25
* | Merge branch '5-0-beta-sec'Aaron Patterson2016-01-251-2/+2
|\ \ | |/ |/|
| * Eliminate instance level writers for class accessorsAaron Patterson2016-01-221-2/+2
* | [ci skip] `automatic_inverse_of` returns `false` not `nil` (document fix)yui-knk2016-01-091-1/+1
|/
* Freeze association foreign keys to reduce allocationsSean Griffin2015-11-151-1/+1