[openstreetmap/openstreetmap-website] Use Activerecord '#or' method for queries (PR #4210)
Andy Allan
notifications at github.com
Wed Aug 30 16:46:29 UTC 2023
That let's us use relation names (like `sender`) and avoid dealing directly with ids.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4210
-- Commit Summary --
* Use Activerecord '#or' method for queries
-- File Changes --
M app/controllers/messages_controller.rb (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4210.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4210.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4210
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4210 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230830/47867e21/attachment-0001.htm>
More information about the rails-dev
mailing list