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