[openstreetmap/openstreetmap-website] Modify the way "Friends" are added (PR #5261)
Anton Khorev
notifications at github.com
Thu Jan 9 10:16:33 UTC 2025
@AntonKhorev commented on this pull request.
> + belongs_to :befriender, :class_name => "User", :foreign_key => :user_id, :inverse_of => :follows
+ belongs_to :befriendee, :class_name => "User", :foreign_key => :friend_user_id, :inverse_of => :follows
`:befriender` and `:befriendee` are not in db, `:friend_user_id` is. I'm not proposing to change `:friend_user_id` right now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1908494600
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5261/review/2539449059 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250109/596fd47e/attachment.htm>
More information about the rails-dev
mailing list