#411 ✓resolved
Dan Kubb (dkubb)

Associations between namespaced models should not require :class_name

Reported by Dan Kubb (dkubb) | June 23rd, 2008 @ 07:35 PM

This spec outlines the problem:


It should be possible to remove the :class_name option here and have the Parent constant found relative to the Child constant. Ruby should be able to do this, but the find_const method we added to Object is too naïve to know about namespaced models.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket