method
test_model_naming
v8.0.0 -
Show latest stable
- Class:
ActiveModel::Lint::Tests
test_model_naming()public
Passes if the object’s model responds to model_name both as an instance method and as a class method, and if calling this method returns a string with some convenience methods: :human, :singular and :plural.
Check ActiveModel::Naming for more information.