IMHO, using ``` attr_accessor :current_tenant ``` is not thread-safe. You should use ``` Thread.current[:current_tenant] ``` instead.