uncountable?(record_or_class)
Class Public methods
Identifies whether the class name of a record or class is uncountable.
1 2 | ActiveModel::Naming.uncountable?(Sheep) # => true ActiveModel::Naming.uncountable?(Post) # => false |
Identifies whether the class name of a record or class is uncountable.
1 2 | ActiveModel::Naming.uncountable?(Sheep) # => true ActiveModel::Naming.uncountable?(Post) # => false |
Designed by : w10schools
service@w10schools.com
Please login to continue.