index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
reflection.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_of
Rafael Mendonça França
2014-06-13
1
-1
/
+1
|
\
|
*
use name specified by 'as' for automatic inverse association to avoid reflect...
Andrew S. Brown
2014-06-10
1
-1
/
+1
*
|
Merge pull request #15630 from eileencodes/refactor-join-keys-on-add_constraints
Matthew Draper
2014-06-12
1
-0
/
+17
|
\
\
|
*
|
begin refactoring add_constraints by moving join keys
eileencodes
2014-06-10
1
-0
/
+17
*
|
|
Add has_one? docs [skip ci]
Arthur Neves
2014-06-11
1
-0
/
+1
|
/
/
*
|
Use HasAndBelongsToMany instead of HABTM
Arthur Neves
2014-06-09
1
-1
/
+1
*
|
reuse available collection? check instead of macro
eileencodes
2014-06-09
1
-1
/
+1
*
|
Merge pull request #15596 from eileencodes/add-has_one-method-and-reuse
Rafael Mendonça França
2014-06-09
1
-1
/
+5
|
\
\
|
*
|
add has_one? method and reuse instead of checking macro
eileencodes
2014-06-09
1
-1
/
+5
*
|
|
Abstract away use of HABTM macro
eileencodes
2014-06-09
1
-1
/
+8
|
/
/
*
|
fix polymorphic? method and reuse it
eileencodes
2014-06-02
1
-8
/
+8
*
|
Refactoring .reflections public method.
Arthur Neves
2014-05-26
1
-4
/
+23
*
|
Use .to_s on _reflections lookup
Arthur Neves
2014-05-24
1
-1
/
+1
*
|
Merge pull request #15210 from arthurnn/fix_hbtm_reflection
Arthur Neves
2014-05-24
1
-7
/
+20
|
/
*
deprecate, join, preload, eager load of instance dependent associations.
Yves Senn
2014-05-10
1
-0
/
+14
*
Refactor AssociationScope#get_bind_values
Eric Chahin
2014-05-05
1
-0
/
+5
*
use statement cache for belongs_to relations
Aaron Patterson
2014-04-22
1
-1
/
+4
*
Merge branch 'master' into adequaterecord
Aaron Patterson
2014-04-20
1
-2
/
+2
|
\
|
*
Singularize association names before camelization
Javier Goizueta
2014-04-18
1
-2
/
+2
*
|
oops. should probably double check in the DCL
Aaron Patterson
2014-04-14
1
-1
/
+3
*
|
cache scope building on associations
Aaron Patterson
2014-04-14
1
-0
/
+9
|
/
*
Only call uniq on the conditional that actually needs it
Carlos Antonio da Silva
2014-04-09
1
-1
/
+1
*
Remove extra collect call
Carlos Antonio da Silva
2014-04-09
1
-1
/
+1
*
Make the aggregate_reflections cache work with strings as its keys.
Lauro Caetano
2014-04-09
1
-2
/
+2
*
No need to call `to_sym` on reflection name, since the cache now works
Lauro Caetano
2014-04-09
1
-2
/
+2
*
Make the reflections cache work with strings as its keys.
Lauro Caetano
2014-04-09
1
-2
/
+2
*
The `source` option for `has_many => through` should accept String
Lauro Caetano
2014-04-09
1
-1
/
+1
*
Ensure we are returning either `true` or `false` for `#==`
Godfrey Chan
2014-03-29
1
-1
/
+1
*
scope_chain should not be mutated for other reflections
Neeraj Singh
2013-10-14
1
-1
/
+1
*
Fix the indentation
Rafael Mendonça França
2013-10-08
1
-12
/
+13
*
remove HABTM special cases from reflections
Aaron Patterson
2013-10-02
1
-14
/
+2
*
push constructable? on to the reflection
Aaron Patterson
2013-10-02
1
-0
/
+16
*
Remove conditional adding a new method
Rafael Mendonça França
2013-09-11
1
-5
/
+5
*
support anonymous classes on has_many associations
Aaron Patterson
2013-09-03
1
-0
/
+1
*
pk should not be required for hm:t associations
Aaron Patterson
2013-08-29
1
-1
/
+0
*
Fixing multi-word automatic inverse detection.
wangjohn
2013-08-15
1
-2
/
+2
*
Revert "all `scope_chain` methods allocate new arrays, no need to dup"
Aaron Patterson
2013-07-31
1
-1
/
+1
*
all `scope_chain` methods allocate new arrays, no need to dup
Aaron Patterson
2013-07-30
1
-1
/
+1
*
oops!
Aaron Patterson
2013-07-23
1
-1
/
+1
*
eliminate conditional in JoinHelper
Aaron Patterson
2013-07-23
1
-1
/
+1
*
acually get the actual source reflection :cry::gun:
Aaron Patterson
2013-07-23
1
-7
/
+14
*
factory methods should not have side effects.
Aaron Patterson
2013-07-23
1
-3
/
+1
*
extract mutation from generation method
Aaron Patterson
2013-07-23
1
-3
/
+5
*
habtm can only ever be an association reflection
Aaron Patterson
2013-07-22
1
-2
/
+4
*
use the predicate method
Aaron Patterson
2013-07-22
1
-1
/
+1
*
AR::Base does not need to know how to create reflection objects
Aaron Patterson
2013-07-22
1
-19
/
+19
*
use the superclass implementation
Aaron Patterson
2013-07-18
1
-1
/
+3
*
quoted table name is also cached
Aaron Patterson
2013-06-13
1
-1
/
+1
*
table name is cached on the class, so stop caching twice
Aaron Patterson
2013-06-13
1
-1
/
+1
*
calculate types on construction
Aaron Patterson
2013-06-13
1
-8
/
+4
[next]