first class on ruby on rails