ready for rails4