balderdashy/sails — pull request #622 by xdissent (2013-07-19 18:12:23+00:00)
Title: Ensure the type of id is maintained when publishing changes.

If the id from params is used in the publish call, the id will always be a string. This PR maintains the real type of the model id when publishing changes. The `publishCreate` method already maintains the type since it grabs the id straight from the model instance in `introduce`.