Após a instalação do WSL podemos instalar o RVM (Ruby Version Manager) para que possamos gerenciar as versões do Ruby de forma mais fácil.Abaixo segue um vídeo onde mostro como fazer esse essa i...
Memory leaks are one of the most challenging issues to diagnose and fix in any programming language, Ruby included. When your Ruby application starts consuming increasingly more memory over time witho...
Imagine you are processing a CSV file with information from weather stations. single line might look like this
⛶Hamburg;22.0,Berlin;18.45,Tokyo;11.23,New York;4.20\nThe regex library in ruby allows...
If you're a Ruby developer, you might have encountered something like the following:
binding.pry
binding.irb
binding.break
If your code runs one of these expressions, the execution will halt, and a RE...
🔥 Python or Ruby? I ran a performance experiment comparing both languages across:
✅ Factorial calculations
✅ Random password generation
✅ Sorting 1M elements
💡 Surprising results:
🚀 Sor...
Short Ruby Newsletter - edition highlightsThis edition was sponsored by Judoscale and was created with the help of Vladut Cosmin🚀 Launches
Adam McCrea launched an exciting new tool for comparing h...
Immutability is one of the most powerful tools for building predictable, maintainable, and thread-safe applications. However, Ruby is an inherently mutable language — objects are designed to be modi...
Upgrading your Rails application is a necessary step to keep it secure, performant, and compatible with modern tools. However, the process can be fraught with challenges, especially when upgrading maj...
This articles was originally published on Rails DesignerLate last year I sat down and looked at some of my site's stats. I had loads of articles written that are read by people in the 5-digits every m...
As artificial intelligence reshapes the tech landscape, Ruby developers now have a charming ally to join the journey: the langchainrb gem. This library elegantly bridges Ruby with powerful AI models, ...