opensoul.org

My First Rails Core Contribution

September 16, 2006 life 1 min read

After spending the better part of the day trying to figure out why my .rpdf template handler was generating blank PDFs yesterday, only to realize that it was trying to render them inside the default HTML layout, I submitted a small patch to the Rails Trac to allow other file extensions—in addition to .rjs—to be exempt from being rendered in the layout. Having submitted other patches in the past, I fully expected this patch to be ignored for a few months, or indefinitely.

But to my surprise, I opened up my news reader this morning to find changeset 5126: Declare file extensions exempt from layouts.

This content is open source. Suggest Improvements.

@bkeepers

avatar of Brandon Keepers I am Brandon Keepers, and I work at GitHub on making Open Source more approachable, effective, and ubiquitous. I tend to think like an engineer, work like an artist, dream like an astronaut, love like a human, and sleep like a baby.