ruby hack to change tab class