aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \
| * | begin refactoring add_constraints by moving join keyseileencodes2014-06-101-0/+17
* | | Add has_one? docs [skip ci]Arthur Neves2014-06-111-0/+1
|/ /
* | Use HasAndBelongsToMany instead of HABTMArthur Neves2014-06-091-1/+1
* | reuse available collection? check instead of macroeileencodes2014-06-091-1/+1
* | Merge pull request #15596 from eileencodes/add-has_one-method-and-reuseRafael Mendonça França2014-06-091-1/+5
|\ \
| * | add has_one? method and reuse instead of checking macroeileencodes2014-06-091-1/+5
* | | Abstract away use of HABTM macroeileencodes2014-06-091-1/+8
|/ /
* | fix polymorphic? method and reuse iteileencodes2014-06-021-8/+8
* | Refactoring .reflections public method.Arthur Neves2014-05-261-4/+23
* | Use .to_s on _reflections lookupArthur Neves2014-05-241-1/+1
* | Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-7/+20
|/
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-0/+14
* Refactor AssociationScope#get_bind_valuesEric Chahin2014-05-051-0/+5
* use statement cache for belongs_to relationsAaron Patterson2014-04-221-1/+4