攻略的的最后更新日期总是今天
Reported by yuanyi | 2009-10-28 16:08:22 UTC | in 1.0.4
http://www.1kg.org/schools/276
貌似是被Rake任务改了
Comments and changes to this ticket
-

yuanyi 2009-10-29 17:32:11 UTC
这个是因为在攻略的show方法里更新了攻略的查看次数:
@school_guide.increment!(:hits)
解决这个问题只能通过设置:
ActiveRecord::Base.record_timestamps = false
run_the_code_that_imports_the_data但是设置这个选项会导致所有时间戳都需要手动更新。
-

yuanyi 2009-10-31 22:52:23 UTC
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »