Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Stop Touching My Timestamps

Interestings

Stop Touching My Timestamps

If you're programmatically updating a bunch of records and don't want to touch the timestamps (perhaps for a migration of data for example), then you can use

ActiveRecord::Base.record_timestamps = false
#your updating code here
ActiveRecord::Base.record_timestamps = true

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *