aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-201-2/+2
|\
| * Singularize association names before camelizationJavier Goizueta2014-04-181-2/+2
* | oops. should probably double check in the DCLAaron Patterson2014-04-141-1/+3
* | cache scope building on associationsAaron Patterson2014-04-141-0/+9
|/
* Only call uniq on the conditional that actually needs itCarlos Antonio da Silva2014-04-091-1/+1
* Remove extra collect callCarlos Antonio da Silva2014-04-091-1/+1
* Make the aggregate_reflections cache work with strings as its keys.Lauro Caetano2014-04-091-2/+2
* No need to call `to_sym` on reflection name, since the cache now worksLauro Caetano2014-04-091-2/+2
* Make the reflections cache work with strings as its keys.Lauro Caetano2014-04-091-2/+2
* The `source` option for `has_many => through` should accept StringLauro Caetano2014-04-091-1/+1
* Ensure we are returning either `true` or `false` for `#==`Godfrey Chan2014-03-291-1/+1
* scope_chain should not be mutated for other reflectionsNeeraj Singh2013-10-141-1/+1
* Fix the indentationRafael Mendonça França2013-10-081-12/+13
* remove HABTM special cases from reflectionsAaron Patterson2013-10-021-14/+2
* push constructable? on to the reflectionAaron Patterson2013-10-021-0/+16
* Remove conditional adding a new methodRafael Mendonça França2013-09-111-5/+5
* support anonymous classes on has_many associationsAaron Patterson2013-09-031-0/+1
* pk should not be required for hm:t associationsAaron Patterson2013-08-291-1/+0