On Thursday, September 13, 2018 at 3:14:41 PM UTC-7, Alexander Popov wrote:
>
> Freezing is not a problem, we're using `plugin :static_cache, frozen: 
> false`.
>
> So, I'm looking for "universal" way (at best), with `static_cache` plugin 
> or without.
>

I'd go with the after_initialize plugin then.  You said it didn't work with 
static_cache and Model.first, but I'm not sure what you mean.  If you load 
the after_initialize plugin first and define the after_initialize before 
loading the static_cache plugin, it should work.  Again, if it doesn't, 
please provide a minimal self-contained reproducible example showing the 
problem.

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 https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to