Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to block users from getting messages?

Ulas asked in Rails

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.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.