Migrate to rails4 beta