lib/active_support/inflector/inflections.rb in activesupport-4.2.0.beta3 vs lib/active_support/inflector/inflections.rb in activesupport-4.2.0.beta4
- old
+ new
@@ -152,10 +152,10 @@
singular(/#{p0.upcase}(?i)#{prest}$/, s0.upcase + srest)
singular(/#{p0.downcase}(?i)#{prest}$/, s0.downcase + srest)
end
end
- # Add uncountable words that shouldn't be attempted inflected.
+ # Specifies words that are uncountable and should not be inflected.
#
# uncountable 'money'
# uncountable 'money', 'information'
# uncountable %w( money information rice )
def uncountable(*words)