Create Ruby Gem with native extensions. Syndicode news

Create Ruby Gem with native extensions

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!

YAML files for RoR apps configuration. Syndicode news

YAML files for RoR apps configuration

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!