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

Changeset 9127

Show
Ignore:
Timestamp:
03/29/08 00:04:27 (1 month ago)
Author:
bitsweat
Message:

Track changes to unsaved attributes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/CHANGELOG

    r9122 r9127  
    11*SVN* 
     2 
     3* Track changes to unsaved attributes.  [Jeremy Kemper] 
    24 
    35* Switched to UTC-timebased version numbers for migrations and the schema. This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches #11458 [jbarnette] 
  • trunk/activerecord/lib/active_record.rb

    r9084 r9127  
    5656require 'active_record/serialization' 
    5757require 'active_record/attribute_methods' 
     58require 'active_record/dirty' 
    5859 
    5960ActiveRecord::Base.class_eval do 
     
    7475  include ActiveRecord::Serialization 
    7576  include ActiveRecord::AttributeMethods 
     77  include ActiveRecord::Dirty 
    7678end 
    7779