> 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/c2600887...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to