On Wednesday, April 23, 2014 8:09:38 AM UTC-7, Nels Nelson wrote:
>
> I guess what I really need to do is just override the Base#== and the 
> Base#eql? methods in the model subclass to only compare the primary
> key.
>

You can probably just have them call Model#=== in that case.  Also, don't 
forget to override Model#hash if you do that.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to