Changeset 8217
- Timestamp:
- 11/26/07 22:45:03 (1 year ago)
- Files:
-
- trunk/activerecord/CHANGELOG (modified) (1 diff)
- trunk/activerecord/lib/active_record/timestamp.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/CHANGELOG
r8208 r8217 1 1 *SVN* 2 3 * Make the record_timestamps class-inheritable so it can be set per model. #10004 [tmacedo] 2 4 3 5 * Allow validates_acceptance_of to use a real attribute instead of only virtual (so you can record that the acceptance occured) #7457 [ambethia] trunk/activerecord/lib/active_record/timestamp.rb
r8113 r8217 13 13 base.alias_method_chain :update, :timestamps 14 14 15 base.c attr_accessor :record_timestamps, :instance_writer => false15 base.class_inheritable_accessor :record_timestamps, :instance_writer => false 16 16 base.record_timestamps = true 17 17 end