fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

Add new data policy fields #331

Closed timcowlishaw closed 1 week ago

timcowlishaw commented 2 weeks ago

On deploying we will need to run migrations, then run rake devices:truncate_and_fuzz_locations in order to truncate the existing locations to 5dp.

timcowlishaw commented 2 weeks ago

Addresses #307

timcowlishaw commented 1 week ago

We're not convinced that 3dp + noise is quite as "imprecise" as we were hoping: will possibly send a follow up PR to make imprecise locations a little noisier

sentry-io[bot] commented 1 week ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎

timcowlishaw commented 1 week ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

* ‼️ **ActionView::Template::Error: undefined method `data_policy' for #<Device id: 16254, owner_id: 7346, name: "CitzenFACE", descri...** `V0::MeController#index` [View Issue](https://iaac.sentry.io/issues/5544588186/?referrer=github-pr-bot)

Did you find this useful? React with a 👍 or 👎

(This was just momentary due to the migrations not being run yet)