 		var loc = {};
 		loc.method = "";
 		loc.object = false;
+		loc.delete = false;
 		loc.arguments = {};
 		loc.returnValue = false;
 		loc.model = model(arguments.association.modelName);
-
+		
 		// check to see if the struct has all of the keys we need from rejectIfBlank
 		if ($structKeysExist(struct=arguments.value, properties=arguments.association.nested.rejectIfBlank))
 		{

<!--- class methods --->
<cffunction name="nestedAttributesFor" output="false" access="public" returntype="void" hint="I allow nested objects and arrays to be set from params.">
	<cfargument name="associations" type="string" required="false" default="" hint="List out the associations you want to allow to be set through the params." />
	<cfargument name="allowDelete" type="boolean" required="false" default="false" hint="Set `allowDelete` to true to tell wheels to look for the property _delete in your model that will be evaluated to see if the model should be deleted." />
	<cfargument name="rejectIfBlank" type="string" required="false" default="" hint="A list of properties that should not be blank, if anyone of the properties are blank, the submission will be rejected." />
	<cfscript>
		var loc = {};

		if (StructKeyExists(arguments, "association"))
			arguments.associations = ListAppend($listClean(arguments.associations), arguments.association);

		loc.iEnd = ListLen(arguments.associations);
		for (loc.i = 1; loc.i lte loc.iEnd; loc.i++)
		{

			{
				variables.wheels.class.associations[loc.association].nested.allow = true;
				variables.wheels.class.associations[loc.association].nested.delete = arguments.allowDelete;
				variables.wheels.class.associations[loc.association].nested.autoSave = arguments.autoSave;
				variables.wheels.class.associations[loc.association].nested.sortProperty = arguments.sortProperty;
				variables.wheels.class.associations[loc.association].nested.rejectIfBlank = $listClean(arguments.rejectIfBlank);
				// add to the white list if it exists
				if (StructKeyExists(variables.wheels.class.accessibleProperties, "whiteList"))
