Ulas

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in How to block users from getting messages?

Hey everyone,

I have an internal messaging system in Rails 6.

I was wondering how can I add the logic for a button to block the user in conversation that I'm messaging with.

My setup and details are available on my reddit post :

https://www.reddit.com/r/rails/comments/j3eszd/how_to_block_users_from_getting_messages/

Any help is appreciated on how to approach this!
Many thanks.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.