thread_safe 0.3.1; remove cancan dependency