turingschool / curriculum

Turing's main repository of tutorials and projects
385 stars 502 forks source link

updated the code for zipcode zero-padding #1248

Closed danielkaczmarczyk closed 6 years ago

danielkaczmarczyk commented 6 years ago

The code created an error - undefined method 'length' for nil when there was no entry for zipcode. After converting nil to string, the program works as intended.

danielkaczmarczyk commented 6 years ago

Shot too early - just realised it's being narrated upon in the course