I would need to save the current time in the date column after updating these records. The TimeStamp behavior always saves the date after the update. Is it possible for the behavior to work only if I call a specific controller? Because if I save to the model where the behavior is, my date will always be overwritten…
You can add a behavior to a table at any time. It’s normally done in the table’s initialize function, but it doesn’t have to be. Feel free to add it to the table just in this one function.