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. 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/f898cb9c-8494-4089-9eb9-dab7c351086do%40googlegroups.com.
