You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cast ttl argument to integer in expire, setex and a few others.
While migrating a big Rails app I noticed that it was extremely
frequent to pass `ActiveSupport::Duration` instances as `ttl`
argument.
We already cast a few arguments explictly like this, so I think
it's worth it here.
0 commit comments