Fix pluralize by using ActiveSupport::inflector.