Test on ruby on rails