Closed EvanBurchard closed 10 years ago
thanks :)
btw for the record- when using raw Waterline, you'll need to explicitly set an identity (@particlebanana correct me if I'm wrong yeah?). When using Waterline via Sails, the identity
will be inferred when moduleloader reads your models from disk (it just makes a half-witted guess by lower-casing the filenames). You can still use the identity
property to override that, if you want to be able to refer to your model as something else (but the convention is all-lowercase)
The Pet model has the identity "user"
That's not right, is it?