URL canonicalization for Rails.