Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8260

Show
Ignore:
Timestamp:
12/03/07 02:22:06 (7 months ago)
Author:
david
Message:

Copy the cache too

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/base.rb

    r8259 r8260  
    18171817        returning klass.new do |became| 
    18181818          became.instance_variable_set("@attributes", @attributes) 
     1819          became.instance_variable_set("@attributes_cache", @attributes_cache) 
    18191820          became.instance_variable_set("@new_record", new_record?) 
    18201821        end