Open HirokiDaido opened 6 years ago
I think it might be trouble if you read operator before you set operator value (including nil) for each request. Yes, It would be better to use request_store gem. Thank you.
( I should update this gem but need some time... )
I think,
Thread.current
is not safe in threaded web servers, like Thin or Puma. Maybe, it is better to use request_store gem isn't it?