@ledsun blog

無味の味は佳境に入らざればすなわち知れず

ActiveRecordのcreated_at, updated_atの時刻を固定値にするモンキーパッチ

class ActiveRecord::Base
  def self.current_time_from_proper_timezone
    Time.local(2008, 9, 1, 10, 5, 0)
  end
end

https://github.com/rails/rails/blob/817148a7472413b31b3334c20fc08c6da5ffc68a/activerecord/lib/active_record/timestamp.rb#L77-L79 を上書きします。