enable multiple thread for rails