09 Mar, 2009

Published at 11:56AM

Tagged with helpers, rails, and rails-contribution

This post has 0 comments

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.

Comments

Do you have something to say about this post?
Retype the image to the right Spam Hint: Are You Human? Textile Formatting Tips

or

Ryan Heath | Site Management A Ruby on Rails production.

This site is a Formed Function. Formed Function LLC | @formedfunction | Get in Touch