patch for use rails4