Rails 5

Rails 5 Active Record attributes API

Rails 5 makes the attribute API public to converts the attribute value to an appropriate Ruby type.

Read
Ruby 2.6

Ruby 2.6 Range#cover? accepts Range object as argument

Ruby 2.6 Range#cover? accepts Range object as argument and returns boolean if the object is comparable and within range.

Read
Rails 5

What happened to ActiveRecord::Base in Rails 5?

In Rails 5, ActiveRecord models no longer inherit from ActiveRecord::Base. ActiveRecord models now inherit from Application Record.

Read
Ruby 2.3

Magic frozen string literal comment in Ruby 2.3

Adding string immutability in Ruby 2.3 by adding the magic comment on the top of the file

Read
Rails 5.1

Rails 5.1 with Webpack

Adding Webpack to manage app-like JavaScript modules in Rails 5.1 using Webpacker

Read