upgrade to rails4
upgrade to cap v3