#281 ✓resolved
Tony Pitale

Laziness in Keys

Reported by Tony Pitale | May 14th, 2008 @ 12:13 PM

If I have a model, Item, where the id property is declared

property :id, Text, :key => true, :field => "item_num"

and then I try Item.first(:id => 'known_id'), I get back nil.

If I do Item.first.id, I get back nil.

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