code: function ( Model, style ) {
  		// get configured defaults or always embed full records
  		var presentationDefaults = sails.config.models.associations || {
  			list: "record",
  			detail: "record"
  		};
  		var associations = Model.associations;
  		var attributes = Model._attributes;
  		_.each( associations, function ( assoc ) {
  			assoc.include = _.extend( {}, presentationDefaults, attributes[ assoc.alias ].includeIn )[ style ]; // extend association object with presentation configuration
  			if ( attributes[ assoc.alias ].through ) {
  				assoc.through = attributes[ assoc.alias ].through;
  			}
  		} );
  		return associations;
  	}
docs: Extend the model's `associations` property with the presentation configuration (taken from the Model's attributes `includeIn` option or from Sails configuration)
  @param  {Waterline Collection}  Model
  @return {Array}                 Extended version of the Model.associations with `includeIn` defintions