Fix deprecation warning: Rails 4 is threadsafe by default