Could you share the view with the read message implementation?
Hugo Hyz
2

Hi Hugo,

I linked to the github repo in the beginning, (https://github.com/danarmulder/simple_rails_messaging_tutorial) go ahead and clone and run it — that will help explain the logic and you can see all of the views. All messages have read = false as default, read is set to true when the user who did not write the message views the message. So all messages will have the read variable, you should filter by the user id to display message reads of messages the user did not send.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.