Closed aried3r closed 7 years ago
@aried3r Thanks for this PR, this is what I was looking for. I wonder why do we need new column instead of using existing timestamp
field for this? At the first glance it looks to me that we can just use current time in mark_as_read!
?
Thanks for your contribution, but there is an important reason not to merge this PR: .cleanup_read_marks!
deletes old (and unnecessary) read_marks
, so the #read_at
information gets lost. With this background, there is no way to store the date/time of reading in the read_marks
table.
This PR implements
read_at
so users know when a record was set toread
by another.Maybe this is something you want in this gem, maybe not. So please see this PR as a proposal :)