/Developer/Code/{omitted}/initializers/better_errors.rb:1:in `<top (required)>': undefined method `editor=' for BetterErrors:Module (NoMethodError)
Make sure you put "binding_of_caller" AFTER "better_errors" if you want to use the editor= feature. It's been working fine for months without the initializer.
I'm using Unicorn in production, and I have a (probably) dumb question. If I enable threadsafe, will this help (even if just slightly) the memory usage by not loading the Rack::Lock middleware?
Just a note for anyone that gets this error:
Make sure you put "binding_of_caller" AFTER "better_errors" if you want to use the editor= feature. It's been working fine for months without the initializer.
I'm using Unicorn in production, and I have a (probably) dumb question. If I enable threadsafe, will this help (even if just slightly) the memory usage by not loading the Rack::Lock middleware?
What's the difference in
cache('somekey') do ... end
andRails.cache.fetch('somekey') do ... end
? They seem fundamentally the same.