added patch for cancan to work with rails4