#form
f.input, :groupable_gid, as: :select, collection: [groupable.name, groupable.to_gid]
#polymorphic model
def groupable_gid
groupable&.to_global_id
end
def groupable_gid=(gid)
self.groupable = GlobalID::Locator.locate gid
end
#form
f.input, :groupable_gid, as: :select, collection: [groupable.name, groupable.to_gid]
#polymorphic model
def groupable_gid
groupable&.to_global_id
end
def groupable_gid=(gid)
self.groupable = GlobalID::Locator.locate gid
end
For further actions, you may consider blocking this person and/or reporting abuse
Jonathan Frias -
Lucas Barret -
Andre Nunes -
Ian -
Once suspended, scottbarrow will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, scottbarrow will be able to comment and publish posts again.
Once unpublished, all posts by scottbarrow will become hidden and only accessible to themselves.
If scottbarrow is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Scott Barrow.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag scottbarrow:
Unflagging scottbarrow will restore default visibility to their posts.
Top comments (0)