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.
When I try to mark a post as read I get this error message from the rails console.
post2.mark_as_read! for: current_userCannot figure out what is going on.