Updated rails version for rails4 branch