diff options
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 16554ffb55..e31987473e 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1187,7 +1187,7 @@ module ActiveRecord #:nodoc: # Just freeze the attributes hash, such that associations are still accessible even on destroyed records. def freeze - @attributes.freeze + @attributes.freeze; self end def frozen? |