After a small break, the new issue of Roobykon Ruby digest is already on the table. It’s fulfilled with numerous charts and comparisons, advices and tutorials. Let’s remember together all the vital, worthwhile news and announcements of the last month and dive into the world of Ruby and Rails development!
In celebration of the 12th RailsConf in Phoenix, Arizona we’ve learned that Rails 5.1 version already passed all the beta tests. And after more than 4000 commits since Rails 5.0 - everything is getting better, easier and simpler! This post is highlighting all the novelties.
In this post, Noah Gibbs leading engineer in AppFolio talks about what it takes to saturate an EC2 t2.2xlarge instance with Rails, database, and load-testing processes. These quick but insightful measurements with an illustrative chart should concern you!
Memoization technique means that, instead of doing the same work every time you call a method, save the return value to a variable and use that instead. Obviously, this technique should only be applied to expensive operations that will never change throughout the lifetime of the memo variable.
If you don’t know, Capybara is an acceptance testing framework for web apps. In this specific article, we'll discover 5 tips for writing effective Capybara tests and quite detailed tutorial of how to use them with RSpec & Minitest. All the details are under the link!
Guys from SportsEngine recently worked through a challenging upgrade to Ruby 2.2. And this post will tell us about their approach to the large scale upgrade and the bumps along the road. Just go through the link and look what a solid work they’ve completed.
There are a lot of strategies and approaches for improving the performance of Rails apps, but it’s better to start with writing efficient code instead of hope on performance-tuning afterward. Here are few simple rules that help to create consistently high-quality code, check ‘em out!
In April, Bundler team added new CLI options in the last two releases that allow to influence how bundle update decides which versions to update to. The new options give a lot more control than earlier when updating gems but are also a little bit complicated and need some clarification.
Are any of us sure that our code review processes are actually working? With this solid investigation, you definitely will! Go through the link and on the numerous examples and quizzes you’ll learn much-much more about code review processes.
Crystal - young, developing language offers orders of magnitude of performance benefits. Instead of measuring performance in hundreds of seconds, you’ll be counting it in hundreds of microseconds. This makes for a more desirable choice for a web API endpoint.
Keeping with the theme of Crystal language - in order to make a benchmark of Crystal Dmitry Rocha, the creative developer from Brazil, chose to compare Kemal in “Crystal’s world” and both Ruby on Rails & Sinatra in Ruby’s. Just take a look at the numbers of this awesome comparison!