Updating models periodically (intervals of time) in Rails

I have a rails app that is essentially running a game. I need to "recharge" certain attributes of records in my database after a certain amount of time (let's say, x seconds). What would the best way to do this be? Do I need to use a gem?