rails4 support added