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

Changeset 6789

Show
Ignore:
Timestamp:
05/19/07 22:15:28 (2 years ago)
Author:
bitsweat
Message:

Revert [4706] which added incorrect docs. References #5684.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1-2-stable/activerecord/lib/active_record/timestamp.rb

    r6109 r6789  
    55  # Timestamping can be turned off by setting 
    66  #   <tt>ActiveRecord::Base.record_timestamps = false</tt> 
    7   # 
    8   # Keep in mind that, via inheritance, you can turn off timestamps on a per 
    9   # model basis by setting <tt>record_timestamps</tt> to false in the desired 
    10   # models. 
    11   # 
    12   #   class Feed < ActiveRecord::Base 
    13   #     self.record_timestamps = false 
    14   #     # ... 
    15   #   end 
    167  # 
    178  # Timestamps are in the local timezone by default but can use UTC by setting 
  • trunk/activerecord/lib/active_record/timestamp.rb

    r6396 r6789  
    55  # Timestamping can be turned off by setting 
    66  #   <tt>ActiveRecord::Base.record_timestamps = false</tt> 
    7   # 
    8   # Keep in mind that, via inheritance, you can turn off timestamps on a per 
    9   # model basis by setting <tt>record_timestamps</tt> to false in the desired 
    10   # models. 
    11   # 
    12   #   class Feed < ActiveRecord::Base 
    13   #     self.record_timestamps = false 
    14   #     # ... 
    15   #   end 
    167  # 
    178  # Timestamps are in the local timezone by default but can use UTC by setting