module ActiveRecord::Associations

def association_instance_get(name)

Returns the specified association instance if it exists, +nil+ otherwise.
def association_instance_get(name)
  @association_cache[name]
end