[PR 12510] ActiveSupport::Inflector.underscore bug fix

Hi,

Can someone check to see if #12510 is ok to merge?

Regards,

Alex