Prefer stronger Rational#to_int over Rational#toi
Use constants for format string literals
Sync devtools