diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-07-07 01:07:20 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-07-07 01:07:31 +0100 |
commit | 86390c3bf30dd61f3bac047e0887b74ff422c02f (patch) | |
tree | e4a980c2bd2fb2c6f03707904c0636bfed6e9b08 /actionpack/lib | |
parent | 7da88c5b297486cd90696133d287be7d60d65218 (diff) | |
download | rails-86390c3bf30dd61f3bac047e0887b74ff422c02f.tar.gz rails-86390c3bf30dd61f3bac047e0887b74ff422c02f.tar.bz2 rails-86390c3bf30dd61f3bac047e0887b74ff422c02f.zip |
Don't construct association scope in initializer. This yields a big performance gain for cases where the association is never used to load the target, for example with preloading. Related: #1873.
Diffstat (limited to 'actionpack/lib')
0 files changed, 0 insertions, 0 deletions