I run the command sails generate model words.common It created in the model folder the model file Words.common.js
but I got a server error:
The Words.common
model has an invalid name.
Model names must start with a letter and contain only letters, numbers and underscores.
MongoDB supports collection name with dots. How do I set it correctly in Sails? and how do I call this model from the controller?
I use Sails v1.0