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
/
associations
/
preloader
Commit message (
Expand
)
Author
Age
Files
Lines
*
reset `@arel` when modifying a Relation in place.
Yves Senn
2014-04-24
1
-1
/
+1
*
select! renamed to avoid name collision Array#select!
Earl J St Sauver
2014-04-21
1
-1
/
+1
*
Replace map.flatten with flat_map in activerecord
Erik Michaels-Ober
2014-03-03
1
-1
/
+1
*
remove the nil check from set_inverse_instance
Aaron Patterson
2013-12-12
1
-1
/
+1
*
read the association instead of sending
Aaron Patterson
2013-10-14
1
-1
/
+3
*
simplify populating the ordering hash
Aaron Patterson
2013-10-14
1
-10
/
+5
*
the preloader for the RHS has all the preloaded records, so ask it
Aaron Patterson
2013-10-14
1
-3
/
+3
*
only calculate offset index once. #12537
Aaron Patterson
2013-10-14
1
-6
/
+10
*
Drop unused iterator var
Vipul A M
2013-10-13
1
-1
/
+1
*
remove the HABTM preloader
Aaron Patterson
2013-10-02
1
-71
/
+0
*
remove initialize method
Aaron Patterson
2013-09-25
1
-4
/
+0
*
extract association resetting to a method
Aaron Patterson
2013-09-25
1
-9
/
+16
*
hash insertion order doesn't matter anymore, so only loop over the
Aaron Patterson
2013-09-25
1
-4
/
+2
*
always populate the preloaded records instance variable so we can remove
Aaron Patterson
2013-09-25
2
-10
/
+5
*
keep preloaded records in a list rather than extract from a hash
Aaron Patterson
2013-09-25
3
-16
/
+21
*
push slice loading to it's own method so we can remove the type casting
Aaron Patterson
2013-09-24
2
-24
/
+20
*
guarantee that `klass` is not nil inside the preloader objects
Aaron Patterson
2013-09-24
1
-1
/
+1
*
eliminate unused ivar
Aaron Patterson
2013-09-24
1
-1
/
+0
*
all records have a preloaded, so eliminate that conditional
Aaron Patterson
2013-09-24
1
-11
/
+7
*
eliminate the `loaded?` conditional
Aaron Patterson
2013-09-24
2
-10
/
+1
*
push preloaded test up to the factory method so we can eliminate
Aaron Patterson
2013-09-24
2
-6
/
+4
*
we can't sort by lhs since the middle records have difference classes
Aaron Patterson
2013-09-23
1
-19
/
+19
*
pass the preloader down so we only have to construct one
Aaron Patterson
2013-09-23
6
-19
/
+17
*
remove state from the preloader
Aaron Patterson
2013-09-23
1
-10
/
+9
*
only do the should_reset test once
Aaron Patterson
2013-09-23
1
-6
/
+6
*
fix variable names and speed up relation ordering
Aaron Patterson
2013-09-23
2
-16
/
+12
*
hm:t preloading will respect order set on the RHS association
Aaron Patterson
2013-09-23
4
-7
/
+52
*
cache associated target records hash
Aaron Patterson
2013-09-20
1
-17
/
+11
*
combine methods so we can reuse preloaders
Aaron Patterson
2013-09-20
1
-19
/
+18
*
return a list rather than hash
Aaron Patterson
2013-09-20
1
-7
/
+13
*
preserve order on the RHS query
Aaron Patterson
2013-09-20
1
-0
/
+8
*
split up construction and mutation
Aaron Patterson
2013-09-20
1
-1
/
+4
*
push `run` up to preload
Aaron Patterson
2013-09-20
2
-4
/
+11
*
exposing target records on the preloader
Aaron Patterson
2013-09-20
2
-16
/
+29
*
correctly typecast keys, remove conditionals, reduce object allocations
Aaron Patterson
2013-08-28
2
-7
/
+11
*
no need to to_a the scope
Aaron Patterson
2013-08-28
1
-1
/
+1
*
remove extra flat_map array
Aaron Patterson
2013-08-28
1
-8
/
+9
*
avoid extra empty array allocation
Aaron Patterson
2013-08-28
1
-10
/
+10
*
extract owner id calculation to a method
Aaron Patterson
2013-08-28
1
-1
/
+5
*
only call to_a when we have to
Aaron Patterson
2013-08-28
2
-2
/
+6
*
remove intermediate variable
Aaron Patterson
2013-08-27
1
-3
/
+1
*
cache association reset calculation
Aaron Patterson
2013-08-27
1
-4
/
+4
*
query the association rather than send the method for the association name
Aaron Patterson
2013-08-27
1
-5
/
+6
*
use flat_map
Neeraj Singh
2013-08-03
1
-1
/
+1
*
don't shadow `through_scope` method name with local var.
Yves Senn
2013-06-30
1
-7
/
+7
*
Simplify/fix implementation of default scopes
Jon Leighton
2013-06-28
1
-2
/
+1
*
Avoid iterating over records hash when not necessary
Carlos Antonio da Silva
2013-04-07
1
-2
/
+6
*
each to each_value; remove unused vars
Vipul A M
2013-04-07
1
-1
/
+1
*
1. Change from each to each_value since we did not use key
Vipul A M
2013-03-19
1
-1
/
+1
*
rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.
Yves Senn
2013-03-15
1
-1
/
+1
[next]