Code Reviews & Refactorings
Reviewing and refactoring code is a core piece of the development lifecycle. In this series, we'll review and refactor code from subscribers and open source projects to see if we can find some clearer ways of accomplishing the same features.
4 hours and 34 minutes
Contributing to Open Source: Adding subdomains to the Addressable gem
#523 · Pro
The addressable gem adds some nice features over Ruby's built-in URI class, but it doesn't have any helpers for extracting subdomains. In this lesson, we'll add some methods to Addressable to make accessing subdomains easier.