'status'.classify => 'Statu', not correct? #7907

acesuares opened this Issue Oct 11, 2012 · 1 comment


None yet
2 participants
'status'.classify => 'Statu'

and that is not very correct.

ActiveSupport::Inflector.inflections do |inflect|
  inflect.singular /^(status)$/i, '\1'

... fixes it.

This might be a dupe of #2317

See also http://nubyonrails.com/tools/pluralize/status

Unfortunately inflections are frozen in Rails, so there's no way to change it. You can stick with the inflection configuration in your application initializer when necessary. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment