Lin Jen-Shin (godfat)
Lin Jen-Shin (godfat)
Rack::Cache::Key#generate might generate a key which is too long to be used as a key in memcache. Would it be better to hash the URL?
The original one is the default, which is InlineErrorDescription. In the command line, use -i, or --inline. The second one would try to put the expected result and actual result...
Without squeel: ``` ruby User.select(:username).distinct.count ``` Generates: ``` sql SELECT DISTINCT COUNT(DISTINCT "users"."username") FROM "users" ``` With squeel: ``` sql SELECT DISTINCT COUNT(DISTINCT ) FROM "users" ``` Which would cause...
http://jakeyesbeck.com/2015/11/22/how-to-write-futureproof-mocks/
Note that I do not think this is a bug, nor do I think this must be changed (back or forward). I am posting this as information for you, and...