Add rails4 features