• A
    Cache to_time and to_datetime for performance · c2c2f791
    Andrew White 提交于
    As demonstrated in #25880 the to_time method converts the utc time
    instance to a local time instance which is an expensive operation
    so since ActiveSupport::TimeWithZone is a value object and shouldn't
    be mutated we can safely cache it without worrying about invalidation.
    c2c2f791
This project manages its dependencies using Bundler. 进一步了解
Gemfile.lock 6.8 KB