**Describe the bug** `undefined method 'day' for 1:Integer `error is raised while running one of the following commands : - rails t - rails c - rails s **Gem version (please complete the following information):** - Ruby: 2.7.3 - Rails 6.1.4 - API Guard 0.5.1