Get a perfect quote

We’re eager to work with you. Please share your project goals and contact information. We respond to 97% of messages within 1-2 business day. Really!

TELL US ABOUT YOU

TELL US ABOUT YOUR PROJECT

What Are You Looking For?

Browse

Roobykon Ruby Digest: Issue 11

Back

Digest11

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!

 

1. Rails 5.1: Loving JavaScript, System Tests, Encrypted Secrets, and more

 Rails_news

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.

 

2. Rails Benchmarking: Puma and MultiProcess

 Rails_benchmarking

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!

 

3. The Rubyist's Guide to Memoization

 Code_ruby_on_rails

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.

 

4. Five Tips for More Effective Capybara Tests

 Capybara_tests

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!

 

5. Dr Ruby Upgrade or: How We Learned To Stop Seg-Faulting And Love Ruby 2

 Ruby_news

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.

 

6. Writing Efficient Queries

 Writing_Efficient_Queries

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!

 

7. Bundler’s new update options

 Bundler_options

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.

 

8. Crafting Better Code Reviews

 Code_Reviews

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.

 

9. Crystal from a Rubyist’s Perspective

 Crystal

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.

 

10. Crystal by Numbers

 Charts_image

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!

 

Rate Roobykon Software