syntax edit for timestamp Date in rails