David Heinemeier Hansson

Results 219 comments of David Heinemeier Hansson

We have an API for this in ActiveJob that would be good to consider extracting into something generic for timeouts/retries. See https://github.com/rails/rails/blob/master/activejob/lib/active_job/exceptions.rb#L116 On Mon, Jan 29, 2018 at 2:24 AM,...

Thanks Julie. I think the stubs and explanations for the callbacks are great. I'm not a big fan of the underscore style for "helpers", though. So I'd take the former...

Can you add a test for this to prevent regression? And then submit a PR for rails/master as well. Thanks for finding this!

I like skip_digest: true. Do make it so. On Nov 20, 2012, at 22:51, Drew Ulmer [email protected] wrote: > Because Memcache has no way of searching for a key by...

Cache digests have been rolled into Rails. So it's the same code base. In your case, I would just add an md5 of the runtime template to the cache key...

This could definitely be handy. When encapsulating caches expire, you often have to read a lot of underlying caches. Very curious how you intend to solve this, though. ERb's a...

I doubt it's that much. I'd rather go down this path for a bit and see if we can keep things simple for as long as possible. On Dec 22,...

Yeah, sounds reasonable to preload the test dependencies in dev for the console. So what to do about the capybara thing? Are you seeing that just requiring it sets up...

Re: rspec, I'm thinking we can just have a "spec" command that works the same. No need to overload "test".

@tenderlove do you know where we're now setting this STDOUT listener? When I added it, it was simply ActiveRecord::Base.logger = Logger.new(STDOUT) for the console. But it seems like that has...