aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Wrong usage of 'a' in docs fixed [ci skip]Mehmet Emin İNAÇ2015-10-031-1/+1
* Fix regression in inverse_of on through associationseileencodes2015-09-261-14/+16
* [ci skip] Remove useless "@api public/private"yui-knk2015-09-171-7/+1
* Merge pull request #21486 from bogdan/refactor-has-many-counter-cacheEileen M. Uchitelle2015-09-091-9/+50
|\
| * HasManyAssociation: moved half of counter cache code to reflectionBogdan Gusiev2015-09-031-9/+50
* | :bomb:Rafael Mendonça França2015-09-081-1/+1
* | Memoized reflections accessorRafael Mendonça França2015-09-081-9/+18
|/
* parent_reflection should store only a reflection objectAaron Patterson2015-05-191-5/+7
* Rename association option :class to :anonymous_classAndrew White2015-04-211-2/+2
* Add `clear_association_scope_cache` methodeileencodes2015-03-181-0/+15
* reflection doc fix about hierarchykeepcosmos2015-03-171-1/+1
* Fix leaky chain on polymorphic associationeileencodes2015-03-151-1/+1
* remove deprecated support to preload instance-dependent associaitons.Yves Senn2015-01-051-6/+3
* Remove deprecated `Reflection#source_macro`Rafael Mendonça França2015-01-041-19/+0
* Cleanup methods, missing spacing and missing nodocseileencodes2015-01-021-14/+14
* Add `#all_includes` method to reflectionseileencodes2015-01-021-0/+2
* Move `alias_candiate` into `AbstractReflection`eileencodes2015-01-021-1/+9
* Assign the `#alias_name` to each reflectioneileencodes2015-01-021-7/+3