#726 ✓not-applicable

cannot use :key property with dm-is-list

Reported by cies | December 21st, 2008 @ 11:14 PM

it seems :key is not a good name for a property in conjunction with dm-is-list.

i have attached a merb model, slightly adopted from the Todo eample in the readme of -is-list.

when using the :key property i get a stack level too deep error when doing any move() operation.

i dont mind not using :key, but i think -is-list (or any other part of dm that cauzes the problem) can throw a warning/error when :key (or any other property that cauzes troubles) is used.

thanks guys, i love dm it rocks the ORM scene...


UPDATE: - on irc is was mentioned that there is already a bug on this issue: http://datamapper.lighthouseapp....

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


Referenced by