A Contribution to Rails
Last night I was working on a project that required use of the number_to_phone helper. Well, it wasn’t working right. It required at least 8-digits to do anything, which didn’t seem practical.
So I looked at the source, and indeed, it wasn’t setup to work with 7-digit numbers. I couldn’t imagine that being intentional, so I submitted a ticket to the Rails project, along with tests showing the behavior. Then I submitted a patch.
Well, this morning I decided to check and see if it had been assigned to anyone or if there was any other activity, and it was already resolved and my patch was committed to Rails thanks to Pratik Naik. Awesome.
