Recently we presented you 40 most used Ruby gems that can be very helpful for you. Before getting into the details of one of the gems, you might be wondering: what are value objects, and why would I want to use them? ValueSemantics is a Ruby gem for making value classes, so let’s explore it together.
This tutorial was published on Tristan Penman’s blog as the result of the author’s experiment on improving the performance and reducing a memory usage of a data structure he implemented using Ruby. He has been reimplementing the core functionality in C++, exposing it to Ruby via a native extension. Let’s follow Tristan and investigate the way to create Ruby Gem with native extensions!
Sometimes you work with a tool but don’t know that it has some secret features that can speed up the process or improve the final quality. How many of you knew that Rails has a built-in method to load configuration defined in
ymlfiles? If you hear this for the first time, thanks to Paweł Dąbrowski today you will learn about YAML files for RoR apps configuration!
If you use Ruby, we’d like to have your attention for a minute! There are multiple vulnerabilities in RubyGems bundled by Ruby.