Mechanism for marking messages "read" in our chat module in our rail's app.

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • time_for_a_boolean

    Back boolean concepts like deleted?, published?, or active? with timestamps

  • It might not be the most efficient if your app scales to millions of messages, but perhaps adding another table with a schema like `message_id`, `user_id`, `read_at`. Don't forget to eager load this new relation, as it can lead to N+1 errors.On the app that I work on, we use the gem time_for_a_boolean which allows us to treat a nullable timestamp field. It might be useful for your project too.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts