working on rails4

as title