[openstreetmap/openstreetmap-website] Removes author_{id, ip} methods from Note model (PR #5568)

Nenad Vujicic notifications at github.com
Tue Jan 28 13:02:35 UTC 2025


### Description

PR removes author_id, author_ip methods from Note model because they are not used anymore. Also, removed associated unit tests.

### How has this been tested?

Tested only using automated tests and by searching sources for potential usages.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5568

-- Commit Summary --

  * Removed author_{id, ip} methods from Note model

-- File Changes --

    M app/models/note.rb (10)
    M test/models/note_test.rb (17)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5568.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5568.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5568
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5568 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250128/a34796a0/attachment.htm>


More information about the rails-dev mailing list