New behavior when exiting activerecord transactions with return in Rails 7
Recently, I decided to upgrade one of my projects from Rails 6.0 to 7.0. After going through the changelogs of each release between 6.0 and 7.0 and through t...
Recently, I decided to upgrade one of my projects from Rails 6.0 to 7.0. After going through the changelogs of each release between 6.0 and 7.0 and through t...
Recently, I was going through the documentation and codebase of a python package (specifically kafka-python) and was curious about how cleaning up resources ...
Recently, I was puzzled with an issue while working on one of my projects. In an endpoint I was building, I had to delete an existing record of a table and c...
There are some tools that are quite essentials for web applications. When working on the back end side of your application, you’ll most probably need to use ...
Pytest is a great tool for writing and running tests in python. One of the features I find myself using a lot is parametrized tests.
Mocking and mocks are really useful when writing tests, as they allow isolating the test target from its dependencies, leading to less fragile tests.
We frequently find ourselves making http calls from the terminal: for testing out an external API we’re integrating into our projects, or for testing APIs we...
Logging is of great importance for web applications, both while in your local environment and for production applications. Logs can be analyzed and reveal is...
Testing is a huge field and takes a significant amount of time to master. There are several types of tests, like unit, functional, integration, end-to-end (e...
Dependency injection is a technique that “injects”/passes dependencies between objects in a way that leads to code that is easier to test and maintain.