DEV Community 👩‍💻👨‍💻

Discussion on: Rails signed IDs for ActiveRecord

Collapse
 
spaquet profile image
Stephane Paquet

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