Re: Problems using lazy_attributes with class_table_inheritance

2021-10-19 Thread s.brimd...@gmail.com
Thanks for getting back to me! Assuming you meant to use lazy attributes in both the parent class and the subclass, it semi-worked in that I no longer see the missing column errors on the subclass. However, we still don't have typecasting and it seems I can't update the lazy loaded column from

Re: Synthetic fields

2021-10-19 Thread Jeremy Evans
On Tue, Oct 19, 2021 at 2:15 AM David Espada wrote: > El miércoles, 13 de octubre de 2021 a las 15:43:39 UTC+2, Jeremy Evans > escribió: > >> On Wed, Oct 13, 2021 at 1:49 AM David Espada wrote: >> >>> Hi. >>> >>> I need to define a synthtic field for a Sequel::Model source dataset. >>> I'd like

Re: Synthetic fields

2021-10-19 Thread David Espada
El miércoles, 13 de octubre de 2021 a las 15:43:39 UTC+2, Jeremy Evans escribió: > On Wed, Oct 13, 2021 at 1:49 AM David Espada wrote: > >> Hi. >> >> I need to define a synthtic field for a Sequel::Model source dataset. I'd >> like getting a sum field with any Model query. How can it be done?

Re: Configure extension on preconnect

2021-10-19 Thread Marcelo
Just to conclude the thread, the pull request was created and merged (thanks!), so after it is released, this is how you would apply the expiration timeout before *:preconnect* kicks in: *DB = Sequel.connect(* * adapter: 'mysql2', host: '127.0.0.1', port: '49153', database: 'my_db',* * user: