add references on rails4