_singularize(string, replacement='_') private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/naming.rb, line 62 def _singularize(string, replacement='_') ActiveSupport::Inflector.underscore(string).tr('/', replacement) end
Register or log in to add new notes.