I want to create test data for the application, and there are many time_at attributes that are tracked, too much to override in a supported way. What I mean is, can I just change the base reference time variable in Ruby?
It would do this: created_at , updated_at , last_login_at , etc., it would be possible to set artificial time, so I could do it in tests:
Date.today
Is there any way to do this?
source share