Ruby on Rails 5.1.3 RC3 available now

Third released candidate for Ruby on Rails 5.1.3 released
01 August 2017   2256
Ruby on Rails

Framework written in the Ruby programming language

Good news for RoR developers. New 5.1.3 release candidate 3rd version has been released.


List of changes for every gem:

  • Active Support
    • Fix modulo operations involving durations
      Rails 5.1 introduce an ActiveSupport::Duration::Scalar class as a wrapper around a numeric value as a way of ensuring a duration was the outcome of an expression. However the implementation was missing support for modulo operations. This support has now been added and should result in a duration being returned from expressions involving modulo operations.
      Prior to Rails 5.1:
      5.minutes % 2.minutes
      => 60


      5.minutes % 2.minutes
      => 1 minute
    • Fix division where a duration is the denominator
      PR #29163 introduced a change in behavior when a duration was the denominator in a calculation - this was incorrect as dividing by a duration should always return a Numeric. The behavior of previous versions of Rails has been restored.

As always, you can view whole list of changes at GitHub

If no regressions will be found, final release expected on Thursday, August 3, 2017. Developers ask everyone who will face any issues, to open a GitHub issue and mention @kaspth in order to developers fix it as soon as possible. 


Feel free to use this checksum in order to check version of your gem 

$ shasum -a 256 *-5.1.3.rc3.gem
f1b9758a78543bb27f65946a65a94e803140787b781f24983c696d89315685ea  actioncable-5.1.3.rc3.gem
8c57af610a7bac0cd91c0b09a0df2f66575ddb20204342b98d28bd6d051578b0  actionmailer-5.1.3.rc3.gem
9e69dcef628dbe12b5937a368e55ac79b71b38261d4187465200352d5278572d  actionpack-5.1.3.rc3.gem
d93ac77d4d6d2fa468a7407fda4088c9ca975aa00e78c18dd2b71e398af3b3dd  actionview-5.1.3.rc3.gem
2d0410f1a279b27e4bacddca4a8bc1f88c0e8c18429751370be8d41fb630cba9  activejob-5.1.3.rc3.gem
987567e336267497cb9222e4e689f58bfd06e9829071ae32d65b9a291fb0e8b3  activemodel-5.1.3.rc3.gem
159c9d330cec1ac9a92c9e0c68f0f088b4273f0ba163c3159f4a7369d9948229  activerecord-5.1.3.rc3.gem
6d4320c2e93e9f6239438cf7886b1111956b5d72cb5a7026402fa29021ae571f  activesupport-5.1.3.rc3.gem
f3551c5eec9649bc225552e0ed8ecee6dac9f4f97ca13e78bf018e36385852e8  rails-5.1.3.rc3.gem
59669b8098787c077b76642804a1543cdca8fabafabad7bbce74622508f79a3d  railties-5.1.3.rc3.gem


Ruby\RoR News Digest 30.06 - 5.07

Let's check what happened in Ruby programming this week and learn about latest updates and news
05 July 2019   1015

Greetings! I hope your week went great! Here's new Ruby/RoR news digest.

Articles and Guides

  • 6 changes you might have missed coming in Ruby 2.7

Learn about some tiny, but interest thing you really may not noted in this Ruby version.

  • Sorbetting a gem, or the story of the first adoption

As you may remember, new type checker for Ruby called Sorbet was released last week;  in this article, programmer shares his thoughts and impressions on the topic.

  • I just made Ruby++

The ++ implementing was more difficult. than expected.

  • Brewing our own Template Lexer in Ruby

A practical walkthrough of building a basic lexer (the parser part will come later) as a way to implement your own templating language

  • Rails 6 adds support for Multi Environment credentials

In Rails 6, different environments credintials can now be stored in separate files personal key for each.

  • In-App Payments Backend Using Ruby


  • HTTP Debugging for Ruby

Free version available too.