It is clear enough! I understand the concept behind it. Great suggestion, I 
thought about it but I was afraid that I was missing out on something more 
direct! thank you for the time and have fun!

On Thursday, 18 April 2019 08:37:43 UTC+2, Jeremy Evans wrote:
>
> You may want to consider using associations for the external tables.  That 
> would probably simplify the code:
>
> many_to_one :assoc1
> def external_field
>   assoc1&.field
> end
>
> Hopefully that is good enough example. I'm on my phone at RubyKaigi and 
> can't currently provide a more complete example.
>
> 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