aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* [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
* Clean up / refactor new reflection classeseileencodes2015-01-021-42/+75
* Move `#alias_name` to `ReflectionProxy` classeileencodes2015-01-021-10/+0
* Refactor construct_tables methodeileencodes2015-01-021-0/+10
* Add PolymorphicReflection and constraints methodeileencodes2015-01-021-1/+58
* Merge pull request #15746 from amccloud/auto-inverse_of-in-moduleRafael Mendonça França2015-01-021-1/+1
|\
| * Fixed automatic inverse_of for models nested in moduleAndrew McCloud2014-06-151-1/+1
* | Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-081-1/+1
* | Fix grammar of sentence in Reflection documentationeileencodes2014-12-071-3/+3
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* | Update reflections public API docArthur Neves2014-11-221-1/+1
* | Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* | let's warn with heredocsXavier Noria2014-10-281-11/+19
* | Use if/else instead of early raiseRafael Mendonça França2014-10-151-2/+5
* | Raise an error for has_one associations which try to go :through a polymorphi...Tu Hoang2014-10-151-0/+1
* | Always add lambda to scope chain to eliminate branch in eval_scopeeileencodes2014-09-041-2/+5
* | Avoid using heredoc for user warningsGodfrey Chan2014-08-281-15/+14
* | [ci skip] "..enables interrorgating of [thing].." would be correctZachary Scott2014-08-191-1/+1
* | Merge pull request #16377 from JackDanger/doc-fix-in-association-reflectionEileen M. Uchitelle2014-08-021-1/+1
|\ \
| * | Fixes small error in ActiveRecord::Reflection docsJack Danger Canty2014-07-311-1/+1
* | | Deprecate source_macroeileencodes2014-08-021-1/+7
* | | Refactor join_keys to remove complex conditionalseileencodes2014-07-311-21/+26
* | | Redefine macro checks for reflectionseileencodes2014-07-301-9/+7
|/ /
* | [ci skip] Fix documentation for @macro and reflection typeseileencodes2014-07-271-6/+9
* | create_join_table uses same logic as HABTM reflectionsStefan Kanev2014-07-181-1/+1
* | Remove need for macro instance vareileencodes2014-07-171-11/+14
* | Begin refactoring ThroughReflectioneileencodes2014-07-081-66/+127
* | Don't rely on the column for type casting reflectionsSean Griffin2014-06-181-2/+2
|/
* Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_ofRafael Mendonça França2014-06-131-1/+1
|\
| * use name specified by 'as' for automatic inverse association to avoid reflect...Andrew S. Brown2014-06-101-1/+1
* | Merge pull request #15630 from eileencodes/refactor-join-keys-on-add_constraintsMatthew Draper2014-06-121-0/+17
|\ \