Fix sanitization call semantics for Rails 3.0.x