All Posts By “Leigh Halliday“
● @leighchalliday ● web ● github ●
Jbuilder to AMS - A tested journey
Not everyone is creating a new Rails app from scratch. Most of us have existing ones which may use RABL, Jbuilder, or a number of other options to generate JSON responses. When we're refactoring large and important parts of our app, how can we test to ensure that refactoring doesn't change the app's behaviour? This article explores that by testing JSON endpoints as we change from Jbuilder to AMS.
Timezones in Python
Datetimes in Python can either be Naive or Aware. A naive datetime is a datetime that is unaware which timezone it is in. It could be in UTC, it could be in US/Eastern, but it doesn't know. All it knows is which date and time that it has.
One Repo to Rule Them All
Should you build a Monolith, a series of Microservices, or is there a third way which combines some of the best things from both approaches?