Rails Time Testing

Old code would use the TimeCop gem, but Rails 5.2 has native time helpers - migration example.

About

Avatar of Author

Jamie Macey is a senior software engineer with over 15 years experience in the Ruby and Rails ecosystems, largely on the back-end.

Husband, father, gamer, and all-around geek. Ask about my latest 3d print, or toy software project.