diff options
author | wangjohn <wangjohn@mit.edu> | 2013-01-24 23:42:39 -0500 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-02-20 10:51:28 -0500 |
commit | 67d8bb963d5d51fc644d6b1ca20164efb4cee6d7 (patch) | |
tree | 7bfa8c62f8032c35de714dcde95ed3d7bef57728 /activerecord/lib/active_record/null_relation.rb | |
parent | 3a0b6c8e135e268c1550f93db1b63ba27457dec2 (diff) | |
download | rails-67d8bb963d5d51fc644d6b1ca20164efb4cee6d7.tar.gz rails-67d8bb963d5d51fc644d6b1ca20164efb4cee6d7.tar.bz2 rails-67d8bb963d5d51fc644d6b1ca20164efb4cee6d7.zip |
Reduced memory leak problem in transactions by lazily updating AR objects with new transaction state. If AR object has a callback, the callback will be performed immediately (non-lazily) so the transaction still has to keep records with callbacks.
Diffstat (limited to 'activerecord/lib/active_record/null_relation.rb')
0 files changed, 0 insertions, 0 deletions