Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 7.2.1 issue. ArgumentError: wrong number of arguments #135

Open
yunixon opened this issue Sep 11, 2024 · 1 comment
Open

Rails 7.2.1 issue. ArgumentError: wrong number of arguments #135

yunixon opened this issue Sep 11, 2024 · 1 comment

Comments

@yunixon
Copy link

yunixon commented Sep 11, 2024

Get error with rails 7.2.1

@alert.mark_as_read! for: @current_user

ArgumentError: wrong number of arguments (given 1, expected 2)

return to rails 7.1.4 and works good

Diff:

Using activesupport 7.2.1 (was 7.1.4)
Using activemodel 7.2.1 (was 7.1.4)
Using activerecord 7.2.1 (was 7.1.4)
Using activejob 7.2.1 (was 7.1.4)
Using actionview 7.2.1 (was 7.1.4)
Using actionpack 7.2.1 (was 7.1.4)
Using actionmailer 7.2.1 (was 7.1.4)
Using railties 7.2.1 (was 7.1.4)
Using actioncable 7.2.1 (was 7.1.4)
Using activestorage 7.2.1 (was 7.1.4)
Using actiontext 7.2.1 (was 7.1.4)
Using actionmailbox 7.2.1 (was 7.1.4)
Using rails 7.2.1 (was 7.1.4)
@ledermann
Copy link
Owner

Fixes for Rails 7.2 are not released yet. Please try this:

gem 'unread', github: 'ledermann/unread'

@yunixon yunixon changed the title Rails 7.2.1 issue. ArgumentError: wrong number of arguments wrong number of arguments Rails 7.2.1 issue. ArgumentError: wrong number of arguments Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants