Rails 6 now by default adds negative enum scopes to filter records easily.
ReadRails 5 makes the attribute API public to converts the attribute value to an appropriate Ruby type.
ReadRuby 2.6 Range#cover? accepts Range object as argument and returns boolean if the object is comparable and within range.
ReadIn Rails 5, ActiveRecord models no longer inherit from ActiveRecord::Base. ActiveRecord models now inherit from Application Record.
ReadAdding string immutability in Ruby 2.3 by adding the magic comment on the top of the file
Read