Created by: gracewashere
Problem: When a number field is nil (doesn't have a value), the index and show pages that display the field throw an error, which appears to the user as a 500 internal server error.
Solution: Handle nil
values specifically in Number
fields, by
displaying a "-" to represent them.
Tags: #ruby