Skip to content

Adding a new .read?(current_user) instance method in readable.rb InstanceMethods #116

@ishields

Description

@ishields

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions