2015-05-04

Ruby + Rails ActiveRecord timezome settings


    #Ruby
    ActiveRecord::Base.default_timezone = :utc
    #Rails
    #do nothing
(rock!)

沒有留言:

張貼留言