diff options
author | Larry Lv <larrylv1990@gmail.com> | 2013-03-08 03:37:01 +0800 |
---|---|---|
committer | Larry Lv <larrylv1990@gmail.com> | 2013-03-08 03:37:01 +0800 |
commit | f01f03e96390fb493830337571de578241619d4f (patch) | |
tree | 980d8bdacec18949fec94e4b8aa11ec67d8099c9 /actionpack | |
parent | 9bd5c86c3bdc70bf29be7f756d1dec2fdd4eaaf0 (diff) | |
download | rails-f01f03e96390fb493830337571de578241619d4f.tar.gz rails-f01f03e96390fb493830337571de578241619d4f.tar.bz2 rails-f01f03e96390fb493830337571de578241619d4f.zip |
@target might be nil when Identity Map is enabled.
* With Identity Map enabled, NameError might be raised and @target is
nil. So we should always ensure `@target ||= find_target`.
* Only force reload target when it is stale.
Diffstat (limited to 'actionpack')
0 files changed, 0 insertions, 0 deletions