Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
# get the opposite user of the conversation
def private_conv_recipient(conversation)
conversation.opposed_user(current_user)
end
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment