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
Commit message (
Expand
)
Author
Age
Files
Lines
*
remove the HABTM preloader
Aaron Patterson
2013-10-02
2
-74
/
+0
*
remove HABTM special cases from associations classes
Aaron Patterson
2013-10-02
4
-31
/
+1
*
repurpose the HABTM builder class
Aaron Patterson
2013-10-02
1
-24
/
+1
*
keep track of the left and right reflections and expose those
Aaron Patterson
2013-10-02
1
-5
/
+5
*
have the builder create the middle reflection
Aaron Patterson
2013-10-02
1
-2
/
+13
*
Merge branch 'master' into habtm
Aaron Patterson
2013-10-02
7
-51
/
+43
|
\
|
*
we can define callbacks without a builder instance
Aaron Patterson
2013-10-02
4
-9
/
+9
|
*
push methods that don't depend on the instance to the class
Aaron Patterson
2013-10-02
2
-6
/
+6
|
*
get the name from the reflection
Aaron Patterson
2013-10-02
1
-1
/
+1
|
*
cache the name and options on the stack
Aaron Patterson
2013-10-02
1
-1
/
+3
|
*
decouple belongs_to callback definition from the builder instance.
Aaron Patterson
2013-10-02
1
-4
/
+4
|
*
add_before_destroy_callbacks doesn't depend on the instance, so push it
Aaron Patterson
2013-10-02
2
-5
/
+5
|
*
valid_options doesn't depend on the instance, so push it to the class
Aaron Patterson
2013-10-02
4
-8
/
+8
|
*
use the information on the reflection to determine whether callbacks should b...
Aaron Patterson
2013-10-02
1
-4
/
+5
|
*
association builder is no longer needed for counter cache, so remove it
Aaron Patterson
2013-10-02
1
-7
/
+6
|
*
push constructable? on to the reflection
Aaron Patterson
2013-10-02
4
-18
/
+6
|
*
name is on the reflection, so just use the reflection
Aaron Patterson
2013-10-02
1
-2
/
+2
|
*
decouple define_callback from the instance
Aaron Patterson
2013-10-02
1
-2
/
+4
*
|
move habtm translation to a builder class
Aaron Patterson
2013-10-02
1
-0
/
+109
*
|
Squashed commit of the following:
Aaron Patterson
2013-10-01
1
-0
/
+11
|
/
*
fix .find when inverse is set
Arthur Neves
2013-09-25
1
-5
/
+4
*
Merge pull request #12359 from arthurnn/inverse_on_callbacks
Rafael Mendonça França
2013-09-25
1
-0
/
+1
|
\
|
*
Make sure inverse_of is visible on the has_many callbacks
Arthur Neves
2013-09-25
1
-0
/
+1
*
|
Merge branch 'master' into preload
Aaron Patterson
2013-09-25
1
-3
/
+3
|
\
|
|
*
Merge pull request #10500 from kennyj/fix_10450
Rafael Mendonça França
2013-09-22
1
-3
/
+3
|
|
\
|
|
*
Fixed a bug in when using has_many association with :inverse_of option and U...
kennyj
2013-05-08
1
-3
/
+3
*
|
|
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
2
-5
/
+12
*
|
|
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
3
-12
/
+7
*
|
|
push preloaded test up to the factory method so we can eliminate
Aaron Patterson
2013-09-24
3
-8
/
+21
*
|
|
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
7
-21
/
+21
*
|
|
remove state from the preloader
Aaron Patterson
2013-09-23
2
-27
/
+16
*
|
|
pass the scope all the way down to the constructors
Aaron Patterson
2013-09-23
1
-10
/
+10
*
|
|
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
5
-8
/
+53
*
|
|
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
*
|
|
fix method name
Aaron Patterson
2013-09-20
1
-3
/
+5
[next]