rubocop: base.rb: remove assignment to unused variable I didn't check to see if SmokeDetector.find_by(access_token: params[:key]) had secondary effects. If it doesn't, then it could be eliminated. The follow on from that is that if APIKey.find_by(key: params[:key]) has no side-effects, then it do could be eliminated, effectively eliminating the entire block.
rubocop: base.rb: remove assignment to unused variable
I didn't check to see if SmokeDetector.find_by(access_token: params[:key])
had secondary effects. If it doesn't, then it could be eliminated.
The follow on from that is that if APIKey.find_by(key: params[:key])
has no side-effects, then it do could be eliminated, effectively eliminating
the entire block.

Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke