#1281 new
gucki

Query must be for the in_memory repository should be automatically resolved

Reported by gucki | May 20th, 2010 @ 02:36 PM

To reproduce the error see here:
http://pastie.org/969967

The problem is solved by changing

belongs_to :bbb

to

belongs_to :bbb, :repository => :in_memory

21:26 gucki: cross-repository relationships are still a bit unpolished because there are some super crazy relationships that you could potentially form, and not all permutations are fully specced yet
21:28 gucki: can you submit a ticket about this? I don't think :repository should be required in this case since it should just be able to figure that out by the target model's default_repository_name

No comments found

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

Pages