 			}
 		}
 	</cfscript>
-	<cfreturn loc.object>
+	<cfreturn loc.object />
 </cffunction>
 
 <cffunction name="$createPrimaryKeyList" returntype="string" access="public" output="false">
-	<cfargument name="params" type="struct" required="true">
-	<cfargument name="keys" type="string" required="true">
+	<cfargument name="params" type="struct" required="true" />
+	<cfargument name="keys" type="string" required="true" />
 	<cfscript>
 		var loc = {};
 		loc.rv = "";
+
 		loc.iEnd = ListLen(arguments.keys);
-		for (loc.i=1; loc.i <= loc.iEnd; loc.i++)
+		for (loc.i=1; loc.i lte loc.iEnd; loc.i++)
 		{
 			loc.key = ListGetAt(arguments.keys, loc.i);
 			if (!StructKeyExists(arguments.params, loc.key) || !Len(arguments.params[loc.key]))
-			{
 				return "";
-			}
 			loc.rv = ListAppend(loc.rv, arguments.params[loc.key]);
 		}
 	</cfscript>
-	<cfreturn loc.rv>
+	<cfreturn loc.rv />
 </cffunction>
				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"))
				{
					variables.wheels.class.accessibleProperties.whiteList = ListAppend(variables.wheels.class.accessibleProperties.whiteList, loc.association, ",");
				}
			}
			else if (application.wheels.showErrorInformation)
			{

			if (loc.associations[loc.association].nested.allow && loc.associations[loc.association].nested.autoSave && StructKeyExists(this, loc.association))
			{
				loc.array = this[loc.association];

				if (IsObject(this[loc.association]))
					loc.array = [ this[loc.association] ];

				if (IsArray(loc.array))
				{
					// get our expanded information for this association
					loc.info = $expandedAssociations(include=loc.association);
					loc.info = loc.info[1];

					for (loc.i=1; loc.i lte ArrayLen(loc.array); loc.i++)
					{
						if (ListFindNoCase("hasMany,hasOne", loc.associations[loc.association].type))
							$setForeignKeyValues(missingMethodArguments=loc.array[loc.i], keys=loc.info.foreignKey);
						loc.saveResult = $invoke(componentReference=loc.array[loc.i], method="save", invokeArgs=arguments);
						if (loc.rv) // don't change the return value if we have already received a false
							loc.rv = loc.saveResult;
					}
				}
			}
		}
	</cfscript>
	<cfreturn loc.rv />
</cffunction>

<cffunction name="$setAssociations" returntype="boolean" access="public" output="false">
