Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

isEqualToRemote

#46

we assume that the id in the model is a string we should ensure that it is or convert it to one

Reported by jjburka · February 17th, 2009 @ 09:47 AM

State: resolved
Assigned to: Joshua Vickery Joshua Vickery

Activity

  1. jjburka
    jjburka
    • Assigned user set to jjburka

    February 17th, 2009 @ 01:28 PM

  2. Ryan Daigle
    Ryan Daigle

    (from [2c1044ae410c6126a779d5d0b0b1e8822d7f7bc1]) [#46 isEqualToRemote] getRemoteId returns a string http://github.com/yfactorial/obj...

    February 17th, 2009 @ 01:49 PM

  3. jjburka
    jjburka
    • Assigned user changed from jjburka to Joshua Vickery

    this wasn't an issue before because NSNumbers where being created as NSStrings.

    February 17th, 2009 @ 01:52 PM

  4. Joshua Vickery
    Joshua Vickery
    • State changed from new to resolved

    looks good, though when we tackle #50 Create Protocol for ObjRes -- rename ClassId to RemoteId?, we might want to switch the id property to an NSNumber. Not sure -- strings are more flexible, but most ActiveRecord adapters only support integers for "id".

    February 18th, 2009 @ 12:54 PM

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.