diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-30 14:08:32 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-30 23:18:40 +0000 |
commit | 40840aa9eadac27b940a9af49e86778071efe59b (patch) | |
tree | dead316e076bbcbbe9dd10a1161ba0c8e7882004 /activerecord/lib | |
parent | cbeeaa6ea000d7a6e6ae90de5b6dc756d15240ab (diff) | |
download | rails-40840aa9eadac27b940a9af49e86778071efe59b.tar.gz rails-40840aa9eadac27b940a9af49e86778071efe59b.tar.bz2 rails-40840aa9eadac27b940a9af49e86778071efe59b.zip |
fix indent
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods/dirty.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/dirty.rb b/activerecord/lib/active_record/attribute_methods/dirty.rb index 3eff3d54e3..f61e016f46 100644 --- a/activerecord/lib/active_record/attribute_methods/dirty.rb +++ b/activerecord/lib/active_record/attribute_methods/dirty.rb @@ -34,9 +34,9 @@ module ActiveRecord @previously_changed = changes @changed_attributes.clear end - rescue - IdentityMap.remove(self) if IdentityMap.enabled? - raise + rescue + IdentityMap.remove(self) if IdentityMap.enabled? + raise end # <tt>reload</tt> the record and clears changed attributes. |