 	<cfargument name="foreignKey" type="string" required="false" default="" hint="See documentation for @belongsTo.">
 	<cfargument name="joinType" type="string" required="false" hint="See documentation for @belongsTo.">
 	<cfscript>
+		var capitalizeName = capitalize(arguments.name);
 		$insertDefaults(name="hasOne", input=arguments);
 		// deprecate the class argument (change of name only)
 		if (StructKeyExists(arguments, "class"))

	<cfargument name="shortcut" type="string" required="false" default="" hint="Set this argument to create an additional dynamic method that gets the objects for a many-to-many association.">
	<cfargument name="through" type="string" required="false" default="#singularize(arguments.shortcut)#,#arguments.name#" hint="Set this argument if you need to override the Wheels convention when using the `shortcut` argument.">
	<cfscript>
		$insertDefaults(name="hasMany", input=arguments);
		// deprecate the class argument (change of name only)
		if (StructKeyExists(arguments, "class"))

		}

		arguments.type = "hasMany";
		arguments.methods = "#arguments.name#,#singularizeName#Count,add#singularizeName#,create#singularizeName#,delete#singularizeName#,deleteAll#capitalizeName#,findOne#singularizeName#,has#capitalizeName#,new#singularizeName#,remove#singularizeName#,removeAll#capitalizeName#";
		$registerAssociation(argumentCollection=arguments);
	</cfscript>
</cffunction>
