balderdashy/waterline — pull request #576 by luislobo (2014-08-07 04:44:59+00:00)
Title: Fixes associations when being sent null as value in association array when creating a model

In a many-to-many association, ie. User--Group, if a user is created with {"name":"John Doe", groups:[null]}, Waterline breaks, as null is an object, and Object.keys(null) breaks Waterline. Added null check to the if statement