We are glad to announce about Ruby 2.4.0 & Ruby on Rails 5.0.rc2. Let’s see what they have in a sleeve for us and what new great features you will be able to use from now on…

Rubyroid Labs Team loves releases, it is so great to see how our favorite technology grows old and develops.

Each release adds more functional and technical options we can use when developing projects. Let’s have a look, what news is waiting for us now!


Ruby 2.4.0 Release Notes

Preview1 for Ruby 2.4.0 has been released. Besides plenty performance improvements and bug fix, it includes:

  1. Fixnum and Bignum unification

Ruby has two visible Integer classes: Fixnum and Bignum. Now they both will be unified in Integer

  1. Unicode case mappings support

String/Symbol#upcase/downcase/swapcase/capitalize(!) will now support case mapping for Unicode

  1. Language improvement

Language has also gone through some improvements in order to avoid errors. Array#max, Array#min are now changed, so that they don’t create a temporary array. Regexp#match? was added to execute regexp match to avoid back reference object and changing $~.

Rails 5.0.rc2 Release Notes

And now let’s have a look at what Ruby on Rails release has brought about:

  1. Action Cable

This new framework seamlessly integrates WebSockets, which is very convenient. It allows writing features for your Rails app in the same style in real-time as well as provides full access to domain model written with Active Record or other ORM.

  1. Active Record Attributes API

Now you will be able to define an attribute with a type on a model. With its help you will be able to control how values are converted to/from SQL in case when they are assigned to a model

  1. Rails API

This is good news especially for those, who use JS-heavy apps. Rails API allows reducing the controllers as well as match set of generators, which is exactly what API type apps need.

  1. Turbolinks 5 and Sprockets 3 support

New versions of Turbolinks and Sprockets are supported, so that you could use brand-new features from them.

  1. Test Runner

As you can guess from the name, Test Runner is designed to make test better. With its help you will be able to rerun snippets, run tests by line and enjoy documentation option

These are only top features introduced. Check the complete list of commits here. And remember that from now on you should be using at least Ruby 2.2.2 version.


As you see, there are plenty interesting things in the releases. Can’t wait to try them all. And what do you think about it?

How useful was this post?

Click on a star to rate it!

Average rating 4.8 / 5. Vote count: 9

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?


Daria Stolyar is a Marketing Manager at Rubyroid Labs. You can follow her at Linkedin.


Write A Comment

https://ftp.scala-sbt.org slot gacor https://rumblr.zedge.net game slot online Slot88 https://olympics.cybintsolutions.com slot deposit pulsa tanpa potongan