Safeguard against DoS in Rails helper
April 28, 2025
One recent contribution to the Rails codebase caught my attention. It concerns the distance_of_time_in_words
method. The fix is meant to prevent a possible Denial of Service while using this method.