Our great sponsors
-
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.
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.
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.