### Description PR adds `description` and `author_id` (`author_ip` is already there) methods to Note model file. Methods use first comment for retrieving requested information. Also, adds unit tests for testing functionality of added methods.
This PR is 1st from set of PRs described [here](https://github.com/openstreetmap/openstreetmap-website/pull/5485#pullrequestreview-2545467592). ### How has this been tested? Automated unit tests and manual testing You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5494 -- Commit Summary -- * Added description and author_id methods to Note * Added unit tests for new Note methods -- File Changes -- M app/models/note.rb (14) M test/models/note_test.rb (18) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5494.patch https://github.com/openstreetmap/openstreetmap-website/pull/5494.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5494 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev