Updated dependency for rails4