On Thu, Dec 30, 2021 at 12:51 PM [email protected] <[email protected]> wrote:
> The use case is to know if current instance of the model was created, we > pass model instance to many services which sometimes need to run additional > actions if new record is just created, we can't have in after_create > callback because model doesn't know about the services also sometimes it's > too early to call it from a model callback because other information might > be needed. I guess such usage is fine for your particular needs, but it doesn't sound like something I'd want to include with Sequel. You should consider shipping it as an external gem, and send a PR to link to the gem from Sequel's website (edit www/pages/plugins.erb). 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 view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/CADGZSSfuOkcXBTn%2B77yFZ8R9fy6zA1JDWgwQdE-k9GEYFKFycQ%40mail.gmail.com.
