or maybe better:

user.network_pks(refresh: true)

Since you are simply refreshing the cache on the instance.
 

On Monday, June 22, 2020 at 2:08:56 PM UTC+3, Aryk Grosz wrote:
>
> Maybe it's too much...but does it make sense to be able to do:
>
> user.network_pks(cache: false).
>
> Let's say you have a looping function and you always want to get to the 
> new network IDs.
>
> Would be nice to be able to overwrite the caching explicitly.
>
> Aryk
>
> On Tuesday, June 16, 2020 at 3:09:24 PM UTC+3, Aryk Grosz wrote:
>>
>> This is great, will clean up some code for me!  Appreciate it!
>>
>> On Sunday, June 14, 2020 at 7:23:28 PM UTC+3, Jeremy Evans wrote:
>>>
>>> On Saturday, June 13, 2020 at 5:43:36 PM UTC-7, Aryk Grosz wrote:
>>>>
>>>> Got it. I would like to vote for adding it as an opt-in option on 
>>>> association_pks.
>>>>
>>>
>>> It was added a few days ago:  
>>> https://github.com/jeremyevans/sequel/commit/560326befdd86edb3a7a2f2cb78903917ab21c43
>>>
>>> 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/d302509c-1088-4a54-b1fc-f26caef97ea4o%40googlegroups.com.

Reply via email to