To set timestamp on a rails model