I've done enough digging to know this involves self-joins, but I'm not sure how to combine everything.
I've got a table `mangos` with a column `pseudo_id` which I'd like to be as small a positive integer as possible. When a `mango` is deleted we want to reuse its `pseudo_id` for a new `mango` as opposed to setting it to something like `self.class.max(:pseudo_id). We spun a few wheels trying to figure out how to do this in Sequel; any tips? Thanks, Eric -- 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 https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
