"thread" is reserved in rails