Craig McNamara
Craig McNamara
- Generating compact and scrubbed DBs for development environments. - Our smallest working set is 8k .sql file, but it's growing slowly. - MySQL DB - We're using Rails.3.2 but...
This gem implements a patch for elasticache https://github.com/craigmcnamara/redis-elasticache
Personally, I think this is better left as an application level concern.
Oh, sorry about that, @jpmcgrath probably wrote that, I'll leave this one up to him.
@pinnymz I'd reiterate that caching is best left as an application level concern. You can wrap your calls to shortener however you see fit instead of complicating the internals of...
@jpmcgrath `Time.current` is the appropriate method that takes `Time.use_zone` in to account. `Time.now` returns the time of the system. See: https://thoughtbot.com/blog/its-about-time-zones#don39t-use
@ThreadedStream Is your DB configured to be UTC and is your app default also? Improperly mixing and matching timezone config can be a common source of errors related to timezones....
Send a pull request if you'd like to see this
> Could you add a minimal failing test that reproduces the problem and show why it happens? > The reproduction is in spec/requests/custom_namespace_routes_spec.rb If you remove the overrides those fail....