[openstreetmap/openstreetmap-website] Trace import: remove activerecord-import gem (PR #5038)
mmd
notifications at github.com
Thu Sep 12 19:34:08 UTC 2024
Well, we could disable rubocop's skip model validation check for that single line only, in case this would be an improvement.
```
# rubocop:disable Rails::SkipsModelValidations
Tracepoint.insert_all!(tracepoints.map(&:attributes))
# rubocop:enable Rails::SkipsModelValidations
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5038#issuecomment-2347088437
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5038/c2347088437 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240912/9e56637f/attachment-0001.htm>
More information about the rails-dev
mailing list