#1198 unconfirmed

auto_migrate/auto_upgrade do not work with subclasses and storage_names changes

Reported by Kabari | February 13th, 2010 @ 07:14 PM

I'm not sure if things should work this way, but when a model is subclassed and the descendent model changes self.storage_names it will still update the parent model when calling auto_migrate/auto_upgrade.

example: http://gist.github.com/303755

I attached a patch but I'll leave up to you guys if it's something that needs to be changed :)

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 »