My app needed a good way to format a phone number for countries other than the US. So I added the "groupings" option to the number_to_phone() helper. I'm not sure if this will allow the helper to accommodate all countries, but it will go quite a way further than it does now.
I'd love to get some feedback on it, and possibly inclusion in Rails core. Thanks. http://rails.lighthouseapp.com/projects/8994/tickets/1236-add-grouping-option-to-number_to_phone-helper --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
