Have records expire after certain time?

Hey, how can I have records inserted into the database through RoR
expire after a day or two and just delete themselves?

I would use this primarily for user alerts, so if you know maybe a
different way, fell free to suggest that.

Thanks in advance,
eric

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs