I may be wrong, but Date#to_datetime is in Ruby, not ActiveSupport, so you shouldn't be expecting that it will use rails time.
確定! 回上一頁