for ruby on rails