   # @param [String] macro the macro type for the reflection (hasMany, hasOne, belongsTo)
   # @param [String] name the name of the association to reflect on
   # @param [Object] options the options to build into the reflection
-  # @param [Class] ActiveResource the ActiveResource class that owns this reflection
+  # @param [Class] activeResource the ActiveResource class that owns this reflection
   # @return [Reflection] the built reflection of an association
-  @create: (macro, name, options, ActiveResource) ->
+  @create: (macro, name, options, activeResource) ->
     klass =
       switch macro
         when 'hasMany'   then Reflection::HasManyReflection
         when 'hasOne'    then Reflection::HasOneReflection
         when 'belongsTo' then Reflection::BelongsToReflection
 
-    new klass(name, options, ActiveResource)
+    new klass(name, options, activeResource)
 
   # Adds a reflection to the ActiveResource's class
   #


    # @return [String] the primaryKey for the owner ActiveResource of the reflection
    activeResourcePrimaryKey: ->
      @__activeResourcePrimaryKey ||= @options['primaryKey'] || @__primaryKey(@ActiveResource)

    # @return [Boolean] whether or not this reflection is for a collection of resources
    collection: ->

    # @return [Reflection,Boolean] the automaticInverseOf reflection for this reflection
    automaticInverseOf = (reflection) ->
      if canFindInverseOfAutomatically(reflection)
        inverseName = s.camelize(reflection.options['as'] || reflection.activeResource.className,true)

        try inverseReflection = reflection.klass().reflectOnAssociation(inverseName)
        catch e then inverseReflection = false
