[openstreetmap/openstreetmap-website] Adds optional use of notes records (PR #5511)

Nenad Vujicic notifications at github.com
Sun Jan 19 14:35:45 UTC 2025


> Why does this need to use `[:user_id]` etc rather than the more typical `.user_id` form?

I replaced using `[:user_id]` with `user_id` (same with user_ip), but had to leave self[:description] because of possible recursion. I couldn't use self.{user_id, user_ip, description} because of Rubocop warnings.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5511/c2600887365 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250119/10a9779f/attachment-0001.htm>


More information about the rails-dev mailing list