Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

UrlHelper#mail_to

#1070

For glory (speed improvement):

old: .each_byte do |c| string << sprintf("%%%x", c) end new: .unpack("H*").first.gsub(/../, "%\&")

Personally I'd pack that into its own String method or helper at least, just to improve readability.

Reported by apeiros · September 18th, 2008 @ 08:51 PM

State: hold
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Pratik
    Pratik
    • State changed from new to hold

    September 18th, 2008 @ 08:51 PM