On Thursday, July 16, 2020 at 9:10:58 AM UTC-7, Jeremy Evans wrote: > > On Thursday, July 16, 2020 at 2:38:39 AM UTC-7, Petr Kaleta wrote: >> >> Maybe I am doing something wrong but if I use >> `Sequel::Model.freeze_descendents` then the block is evaluated immediately >> when model class is loaded and self refers to a model Class... >> > > Ah, that is a bug. It looks like finalizing associations for instance > specific associations (which by default include all associations with > blocks) is broken in that regard. I'll fix that shortly. >
Fixed: https://github.com/jeremyevans/sequel/commit/232fd3bb468d95d227bca6aba425f4a49fa8a06a 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/670485c7-f6cc-40b4-be9c-04780bdf2df6o%40googlegroups.com.
