Don't delete columns, deprecate them
There is a point in time where you just stop needing a column in the database. The most logical approach is to delete it, but it turns out this isn’t the smartest thing to do. Story time One of my...
There is a point in time where you just stop needing a column in the database. The most logical approach is to delete it, but it turns out this isn’t the smartest thing to do. Story time One of my...
Making a migration means changing the database, which is always a risky thing. Having a backup of our database is one thing, but it is better if we don’t resort to it. We should always test rollin...
Adding a column, changing a data type, or dropping a table can irreversibly affect your data. A wrong migration can destroy production data and make a rollback impossible without losing integrity. ...
How to include the child model's fields in the dashboard and be able to search through them.
How to include the child model's fields in the dashboard and be able to search through them.
What is the Open-Closed Principle? The Open-Closed Principle (OCP) is one of the five SOLID principles. It states that “software entities (classes, modules, functions, etc.) should be open for exte...
APIdock is outdated, just use the Official API and the Ruby on Rails Guides. I wasted some water and tried ChatGPT’s image generation: Idk, that’s it. They just don’t let me use APIdock at work,...
A brief overview of the rails console --sandbox command and how to use it.
Първият ми хакатон беше HackTUES 6, който се проведе хибридно през октомври 2020г. Следваха онлайн форматите на HackTUES GG и HackTUES Infinity и завършихме силно, присъствено с HackTUES 9 и X. Ня...
You have most probably heard about or used git commit --amend. It allows you to modify the most recent commit by changing its message or adding new changes without creating a new commit. It is use...