You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you so much for this gem, it looks great and the documentation is crystal clear.
My question -
We have a Video model which we want to track 2 types of impressions for - views and downloads
I'm using the impressionist method with the message param to differentiate between them:
impressionist(@video, 'view', unique: [: ip_address, :message])
impressionist(@video, 'download', unique: [: ip_address, :message])
Is there a way to manage two different cached fields for this model, where each one updates by the type of event?
Thanks again!
The text was updated successfully, but these errors were encountered:
First of all, thank you so much for this gem, it looks great and the documentation is crystal clear.
My question -
We have a
Video
model which we want to track 2 types of impressions for - views and downloadsI'm using the
impressionist
method with themessage
param to differentiate between them:impressionist(@video, 'view', unique: [: ip_address, :message])
impressionist(@video, 'download', unique: [: ip_address, :message])
Is there a way to manage two different cached fields for this model, where each one updates by the type of event?
Thanks again!
The text was updated successfully, but these errors were encountered: