#892 ✓resolved
Benjamin Thomas

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

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

Attachments

Pages