Re: Accessor for joined columns

2023-08-15 Thread beths...@gmail.com
Righto, thanks Jeremy. On Wednesday, 16 August 2023 at 00:48:08 UTC+10 Jeremy Evans wrote: > On Tue, Aug 15, 2023 at 2:40 AM beths...@gmail.com > wrote: > >> Hi Sequels, >> >> I'm sure I saw a plugin/method/configuration that allows joined columns >> that don't belong to the model to be

Re: Accessor for joined columns

2023-08-15 Thread Jeremy Evans
On Tue, Aug 15, 2023 at 2:40 AM beths...@gmail.com wrote: > Hi Sequels, > > I'm sure I saw a plugin/method/configuration that allows joined columns > that don't belong to the model to be accessed via methods ( > query.all.first.foo), instead of via the hash (query.all.first[:foo]), > but now I

Accessor for joined columns

2023-08-15 Thread beths...@gmail.com
Hi Sequels, I'm sure I saw a plugin/method/configuration that allows joined columns that don't belong to the model to be accessed via methods ( query.all.first.foo), instead of via the hash (query.all.first[:foo]), but now I can't find it, and am wondering if I just dreamed it! Does such a