Files
nairobi/lib/tasks
Javi Martín 144d1d8d05 Add a task to mask existing IPs collected with Ahoy
According to the README [1]:

> To mask previously collected IPs, use:
> Ahoy::Visit.find_each do |visit|
>   visit.update_column :ip, Ahoy.mask_ip(visit.ip)
> end

We're adapting the code with our version, since we use the `Visit` model
instead of the `Ahoy::Visit` model.

[1] https://github.com/ankane/ahoy/blob/v5.0.2/README.md#ip-masking
2024-05-13 14:59:30 +02:00
..
2015-07-15 13:32:13 +02:00
2022-11-09 18:19:20 +01:00
2022-11-09 18:19:20 +01:00
2022-11-09 18:19:20 +01:00
2022-11-09 18:19:20 +01:00