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.

PJ Davis's latest activity

Friday, February 11 2011
6414 number_to_phone error when using 7 digits and :area_code => true was updated in Ruby on Rails
  • PJ Davis
    • Tag changed from actionpack, actionview, bug, helpers to actionpack, actionview, bug, helpers, patch
    by PJ Davis at 7:08 PM

    Here is the proposed patch and updated test.

  • PJ Davis
    PJ Davis created the ticket at 7:03 PM

    When using number_to_phone with a seven digit number and using :area_code => true, I get

    TypeError: can't convert nil into String

    number_to_phone(5551234, {:...