time_constants icon indicating copy to clipboard operation
time_constants copied to clipboard

Time constants, in seconds, so you don't have to use slow ActiveSupport helpers

Results 2 time_constants issues
Sort by recently updated
recently updated
newest added

Please don't pollute the top-level namespace, define any constants / methods within a `TimeConstants` module which can be included anywhere.

You could use `const_missing` to dynamically return values for time constants, without having to manually define every single time constant. Additionally you could call `const_set` or memoize the values with...