Fix to_s not using :default format with no args by skipkayhil · Pull Request #48555 · rails/rails

Motivation / Background Fixes #48545 When to_s was deprecated for to_fs, warnings were added when explicit formats were passed to to_s. To determine whether a format argument was passed, the method...