Skip to content

issue with mark_as_read! method #114

@palmo25

Description

@palmo25

When I try to mark a post as read I get this error message from the rails console.
post2.mark_as_read! for: current_user

Traceback (most recent call last):
        1: from (irb):6
ArgumentError (wrong number of arguments (given 1, expected 2))

Cannot figure out what is going on.

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