datamapper/dm-is-remixable — Issue #14: remixed model repository remains :default
Author: blueblank
Created: 2011-10-11 18:35:30+00:00
State: open

I've just started working with trying to create different repositories, and I haven't been able to get remixed models to inherit the repository, or change the repository from :default

Using this:

https://gist.github.com/1278627

I can specify a repository for the Ticket model, but TicketComments can not be changed from the methods I've tried. The expected behavior should be for remixed models to inherit the repository of the models remixed from, i.e. TicketComments should inherit the repository of Ticket, but this may be my opinion in this case and I can see where it might not always be the case.

I'm probably missing the obvious method, but going through several times from various directions resulted in no change.