Apply updated advisory patch for Rails 2.x