Learn how to become a better Ruby developer by writing testable and readable code that works.
Blocks, Lambdas and Procs · Anonymous functions are an integral part of Ruby identity and provide flexibility for any kind and size of the codebase. This...
Using parent functionality in Ruby · It seems that the super keyword in Ruby is a straightforward thing; it simply calls the same method from a parent....
Small Rails design patterns · Especially in larger legacy Rails applications, it’s harder to make a meaningful refactoring without changing a lot of...
Composition in Ruby · Without the modules, you would have to rely on inheritance to organize your code and make it more reusable. Such an approach is far...
Active record advanced concepts · Now that you know how to avoid trouble with Active Record, it is time to take the next step. There are some more...
Effectively parse CSV with Ruby · At first glance, parsing CSV files with Ruby seems really straightforward and non-problematic. The same for the CSV...