Patch for Rails security.