Rails 5.2 stable version has just been released. One of its new features is a new built-in way for uploading files in your applications - ActiveStorage. That means you don't have to use third-party libraries like CarrierWave
In this post, I will share some patterns I use when developing Ruby on Rail applications. This is something other developers don’t always do — especially younger developers and those switching from other technologies
If you’ve ever created an application with more than one model, you’ve had to think about what type of relationships to use between those models. As an application’s complexity grows, it can be difficult to decide which relationships should exist between your models.
Everytime Ruby needs to request memory from the operating system it has to call the malloc function. This function is part of the operating system itself, but there are alternative implementations you can use
Most modern programming languages support and encourage object-oriented programming (OOP). Even though lately we seem to be seeing a slight shift away from this, as people start using languages which are not heavily influenced by OOP, most still have objects