lib/active_support/inflector/methods.rb in activesupport-5.2.0.beta2 vs lib/active_support/inflector/methods.rb in activesupport-5.2.0.rc1
- old
+ new
@@ -348,10 +348,10 @@
else
case abs_number % 10
when 1; "st"
when 2; "nd"
when 3; "rd"
- else "th"
+ else "th"
end
end
end
# Turns a number into an ordinal string used to denote the position in an