• Imre Farkas's avatar
    Rake task to cleanup expired ActiveSession lookup keys · 313f145b
    Imre Farkas authored
    In some cases ActiveSession.cleanup was not called after authentication,
    so for some user ActiveSession lookup keys grew without ever cleaning
    up. This Rake task manually iterates over the lookup keys and removes
    ones without existing ActiveSession.
    313f145b
cleanup.rake 6.82 KB