Currently, when a new user(reader) is created, all messages (readables) created before that point in time will be marked as read. It can only be disabled by overriding the setup_new_reader function in the reader.
So the in the example have_not_read method should ideally return empty.
## Get users that have not read a given message
user1 = User.create!
user2 = User.create!
User.have_not_read(message1)
# => [ user1, user2 ]
Currently, when a new user(reader) is created, all messages (readables) created before that point in time will be marked as read. It can only be disabled by overriding the
setup_new_reader
function in the reader.So the in the example
have_not_read
method should ideally return empty.