50 Experience
0 Lessons Completed
0 Questions Solved


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 :


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

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

© 2023 GoRails, LLC. All rights reserved.