For the expiration parameter you should not be using .from_now (Rails 7). Instead, you should be calling it this way: expiration: 1.day or expiration: 10.minutes
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For the
expirationparameter you should not be using.from_now(Rails 7). Instead, you should be calling it this way:expiration: 1.dayorexpiration: 10.minutes