kasperisager/sails-generate-auth — pull request #7 by HaNdTriX (2014-02-11 17:36:22+00:00)
Title: Update Readme.md

Add via attribute to User model to prevent the following Error:

Error: Collection user has an association attribute that is missing a `via` property. Any associations with a `collection` attribute must specify a `via` option that points to another attribute. Update the attribute: passports and add a `via` property
at JoinTables.buildJoins