I need to store some data on a request basis and I was wondering how BAD
would it be to just stick it into ActiveRecord’s query_cache. The way I
see
it, all the hard stuff is already done, like thread-safety. Suggestions?
ActiveRecord::Base.connection.query_cache[‘some’][‘var’] = 42
later
ActiveRecord::Base.connection.query_cache[‘some’][‘var’]
Thank you.