You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is only a .unread? method which means to determine if something is read you need to do !thing.unread(current_user). Would it be a good idea to add a .read?(current_user) method?
def read?(reader)
!unread?(reader)
end
The text was updated successfully, but these errors were encountered:
Currently there is only a .unread? method which means to determine if something is read you need to do !thing.unread(current_user). Would it be a good idea to add a .read?(current_user) method?
The text was updated successfully, but these errors were encountered: