
Associations not loading for many to many with String Primary Keys
Reported by Benjamin Thomas | June 8th, 2009 @ 03:43 AM | in 0.10.0
Basically what this boils down to is it can't load the associations for a many to many relationship after having selected multiple rows if one of the models has a string primary key. It returns an empty result.
I discovered this when trying to use UUIDS in a regular String Primary Key column.
I am using the latest commit from dm-core/next.
I have attached some sample code that will replicate the problem.
(should I be using Gist for this? This is my first Ticket!)
Comments and changes to this ticket
-
Benjamin Thomas June 8th, 2009 @ 03:43 AM
Just to be save I made a Gist which is the same as the attached file.
-
Dan Kubb (dkubb) June 16th, 2009 @ 03:40 AM
- Assigned user set to Dan Kubb (dkubb)
- State changed from new to accepted
- Milestone set to 0.10.0
-
Dan Kubb (dkubb) June 23rd, 2009 @ 02:21 AM
- State changed from accepted to resolved
This should now be resolved in the latest dm-core/next branch. This bug was fixed with other typecasting fixes performed earlier today.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »