instance method
uncountable
Ruby on Rails 7.2.3
Since v2.2.3Signature
uncountable(*words)
Specifies words that are uncountable and should not be inflected.
uncountable 'money' uncountable 'money', 'information' uncountable %w( money information rice )
Parameters
-
wordsrest
Source
# File activesupport/lib/active_support/inflector/inflections.rb, line 208
def uncountable(*words)
@uncountables.add(words)
end
Defined in activesupport/lib/active_support/inflector/inflections.rb line 208
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Inflector::Inflections