instance method
uncountable
Ruby on Rails 3.1.12
Since v2.2.3Signature
uncountable(*words)
Add uncountable words that shouldn’t be attempted inflected.
Examples:
uncountable "money" uncountable "money", "information" uncountable %w( money information rice )
Parameters
-
wordsrest
Source
# File activesupport/lib/active_support/inflector/inflections.rb, line 74
def uncountable(*words)
(@uncountables << words).flatten!
end
Defined in activesupport/lib/active_support/inflector/inflections.rb line 74
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Inflector::Inflections