[openstreetmap/openstreetmap-website] Microcosms microcosms (PR #3683)
Brian DeRocher
notifications at github.com
Thu Sep 15 04:28:20 UTC 2022
@openbrian commented on this pull request.
> @@ -83,6 +83,8 @@ class User < ApplicationRecord
has_many :reports
+ has_many :microcosms_i_organize, :class_name => "Microcosm", :foreign_key => :organizer_id, :inverse_of => :organizer
Later when we have members, the user.microcosms will be the list of microcosms that a user belongs to. :microcosms_i_organize is different. It's also temporary.
I waffled on this myself. I considered :microcosms_organized.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3683#discussion_r971512003
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3683/review/1108505926 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220914/2f6bf358/attachment.htm>
More information about the rails-dev
mailing list