Welcome to the sample (static) website built with
the planet.rb quick starter script
that (auto-)adds articles & blog posts to your (static) website via feeds (and planet pluto).
Hello, this is Andrew, bringing you the latest news from the Ruby on Rails world! There have been 18 contributors to Rails in the second full week of 2020! These releases add support for the SameSite=None cookie value, new HTTP status codes, bug fixes, and several other exciting changes and additions. Updates to Rails following the release have also begun. Check out the Rack changelog to learn more. This addition allows the configuration of rules to match deprecation warnings that should not be allowed and ActiveSupport::Deprecation#disallowed_behavior, which specifies the behavior to be used when a disallowed deprecation warning is matched. Channels with multiple subscriptions can now stop following individual streams. Before this change, the only option was to stop all streams. This fix prevents an extra newline from getting added in generated migrations. That’s it for this week, till next time!
What's News? What's Upcoming in 2020?
RubyConf Belarus (BY)
See all Conferences 'n' Camps in 2020».
Hello, this is Greg, bringing you the latest news from the Ruby on Rails world! There have been 38 contributors to Rails in the first week of the year! This PR deprecates the use of the name “primary” as the
connection_specification_name for ActiveRecord::Base in favor of
using “ActiveRecord::Base” to avoid confusion as earlier the classname was used in any other case. The usage of the Range#include? method to check the inclusion of an argument in date-time with zone range is deprecated in Ruby and since Rails extends it, the deprecation needs to be carried forward.
As a replacement, it is recommended to use Range#cover? Before this bugfix, if an app called establish_connection with no arguments or doesn’t call
connects_to in ApplicationRecord and uses parallel testing
databases, the application could’ve picked up the wrong configuration. The improvement is highly coupled to the size of the hash but can be quite a bit for medium sized nested hashes. That’s it for this week, till next time! Hello, this is Prathamesh bringing you first issue of This week in Rails of the new year and new decade. Happy new year! There have been 494 contributors to Rails in 2019. Wow, that’s a staggering number! Thank you all for making Rails better. Rails 6 includes headline features such as parallel testing, multi database support, new Zeitwerk autoloader along with new frameworks added to the Rails family. Action Mailbox and Action Text made their way to the Rails codebase during the Rails 6 release. Action Mailbox will help you accept the incoming emails and Action Text brings rich text content and editing to Rails. Apart from Rails 6, 2019 also saw release of Rails 5.2.4 series and 5.1.7. The party is still rocking in 2020. 18 people contributed to Rails in new year so far! Check out the detailed list of all changes. Happy new year again!
What's News? What's Upcoming in 2020?
Birmingham on Rails
See all Conferences 'n' Camps in 2020».
Hello, this is Wojtek reporting on last month additions to Rails codebase. The last minor version of Ruby 2.7 before 3.0 release in the next year. Rails codebase is constantly updated to support Ruby 2.7 without any warnings. Followed by security fix releases 5.2.4.1 and 6.0.2.1 Optimization and bug fix by avoiding existence checks in the storage service. Handy addition to clean up common use case with constructing class names when creating content tags. As a follow-up to conditional values in Tag Builder, to ease even more constructing class names on views. From now on config_for will deeply merge shared configuration section with environment specific one. 76 people contributed to Rails since last time. Check out the detailed list of all changes. We are pleased to announce the release of Ruby 2.7.0. It introduces a number of new features and performance improvements,
most notably: Pattern matching, a widely used feature in functional programming languages,
is introduced as an experimental feature.
[Feature #14912] It can traverse a given object and assign its value if it matches a pattern. For more details, please see
Pattern matching - New feature in Ruby 2.7. Besides, source lines shown by This release introduces Compaction GC which can defragment
a fragmented memory space. Some multi-threaded Ruby programs may cause memory fragmentation,
leading to high memory usage and degraded speed. The Automatic conversion of keyword arguments and positional arguments
is deprecated, and conversion will be removed in Ruby 3.
[Feature #14183] See the article “Separation of positional and keyword arguments in Ruby 3.0” in detail.
Only the changes are as follows. If you want to disable the deprecation warnings, please use a command-line argument Numbered parameters as default block parameters are introduced.
[Feature #4475] A beginless range is experimentally introduced. It might not be
as useful as an endless range, but would be good for DSL purposes.
[Feature #14799] JIT [Experimental] JIT-ed code is recompiled to less-optimized code when an
optimization assumption is invalidated. Method inlining is performed when a method is considered as pure.
This optimization is still experimental and many methods are
NOT considered as pure yet. The default value of The default value of Fiber’s cache strategy is changed and fiber creation is speeded up.
GH-2224 The performance of The performance of Monitor and MonitorMixin is improved.
[Feature #16255] Per-call-site method cache, which has been there since around 1.9, was
improved: cache hit rate raised from 89% to 94%.
See GH-2583 RubyVM::InstructionSequence#to_binary method generates compiled binary. The binary size is reduced. [Feature #16163] Update Unicode version and Emoji version from 11.0.0 to 12.0.0.
[Feature #15321] Update Unicode version to 12.1.0,
adding support for U+32FF SQUARE ERA NAME REIWA.
[Feature #15195] See NEWS
or commit logs
for more details. With those changes, 4190 files changed, 227498 insertions(+), 99979 deletions(-)
since Ruby 2.6.0! Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.7! https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.bz2 https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.gz https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.tar.xz https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0.zip Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993,
and is now developed as Open Source. It runs on multiple platforms
and is used all over the world especially for web development. Posted by naruse on 25 Dec 2019 We are pleased to announce the release of Ruby 2.7.0-rc2. A release candidate is released to gather feedback for the final release
planned for December 25. It also introduces a number of new features and performance improvements,
most notably: Pattern matching, a widely used feature in functional programming languages,
is introduced as an experimental feature.
[Feature #14912] It can traverse a given object and assign its value if it matches a pattern. For more details, please see
Pattern matching - New feature in Ruby 2.7. Besides, source lines shown by This release introduces Compaction GC which can defragment
a fragmented memory space. Some multi-threaded Ruby programs may cause memory fragmentation,
leading to high memory usage and degraded speed. The Automatic conversion of keyword arguments and positional arguments
is deprecated, and conversion will be removed in Ruby 3.
[Feature #14183] NOTE: Too many deprecation warnings about keyword argument incompatibilities
have been pointed out to be too verbose. Currently, two possible solutions
are discussed; disabling deprecation warnings by default
(#16345)
or suppressing duplicated warnings
(#16289).
The final decision is not made, but will be fixed by the official release. A method reference operator, Numbered parameters as default block parameters are introduced
as an experimental feature.
[Feature #4475] A beginless range is experimentally introduced. It might not be
as useful as an endless range, but would be good for DSL purposes.
[Feature #14799] JIT [Experimental] JIT-ed code is recompiled to less-optimized code when an
optimization assumption is invalidated. Method inlining is performed when a method is considered as pure.
This optimization is still experimental and many methods are
NOT considered as pure yet. The default value of The default value of The performance of The performance of Monitor and MonitorMixin is improved.
[Feature #16255] Update Unicode version and Emoji version from 11.0.0 to 12.0.0.
[Feature #15321] Update Unicode version to 12.1.0,
adding support for U+32FF SQUARE ERA NAME REIWA.
[Feature #15195] See NEWS
or commit logs
for more details. With those changes, 4184 files changed, 226864 insertions(+), 99937 deletions(-)
since Ruby 2.6.0!
Enjoy programming with Ruby 2.7! https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-rc2.tar.bz2 https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-rc2.tar.gz https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-rc2.tar.xz https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.0-rc2.zip Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993,
and is now developed as Open Source. It runs on multiple platforms
and is used all over the world especially for web development. Posted by naruse on 21 Dec 2019This week in Rails - Rack 2.1 released, disallowed deprecations, and more!
18 contributors to Rails in past week
Rack 2.1.0 and 2.1.1 released
Introduce Active Support Disallowed Deprecations
Stop individual Action Cable streams
Remove an empty line from generated migration
RubyConf Belarus (BY) @ Minsk, Belarus - Ruby Conferences 'n' Camps Update
Apr/18
(1d)
Sat
@ Minsk, Belarus
• (Updates)
This week in Rails - Deprecations, bugfixes and improvements!
38 contributors to Rails in past week
Deprecate “primary” as a connection_specification_name for ActiveRecord::Base
Deprecate using
Range#include?
to check the inclusion of a value in a date time rangeRestore previous behavior of parallel test databases
Reduce number of created objects in Hash#as_json
This week in Rails - The 2019 edition
In this issue, we will go over the major changes that happened last year to the Rails codebase.494 contributors to Rails in 2019
Rails 6.0 released
Two new frameworks added to Rails
Other releases
Birmingham on Rails @ Birmingham, Alabama, United States - Ruby Conferences 'n' Camps Update
Jan/31
(1d)
Fri
@ Birmingham, Alabama, United States
• (Updates)
Ruby 2.7.0, Rails 6.0.2.1 and more
Ruby 2.7.0 released
Rails 6.0.2 released
Track Active Storage variants in the database
Conditional values in Tag Builder
Add class_names view helper
Deep merge of shared configuration in config_for method
Happy new year!Ruby 2.7.0 Released
Pattern Matching [Experimental]
REPL improvement
irb
, the bundled interactive environment (REPL; Read-Eval-Print-Loop),
now supports multi-line editing. It is powered by reline
,
a readline
-compatible library implemented in pure Ruby.
It also provides rdoc integration. In irb
you can display the reference
for a given class, module, or method.
[Feature #14683],
[Feature #14787],
[Feature #14918]Binding#irb
and inspect results
for core-class objects are now colorized.Compaction GC
GC.compact
method is introduced for compacting the heap.
This function compacts live objects in the heap so that fewer pages
may be used, and the heap may be more CoW (copy-on-write) friendly.
[Feature #15626]Separation of positional and keyword arguments
**nil
is allowed in method definitions to explicitly mark
that the method accepts no keywords. Calling such a method with keywords
will result in an ArgumentError.
[Feature #14183]
-W:no-deprecated
or add Warning[:deprecated] = false
to your code.Other Notable New Features
Enumerable#tally
is added. It counts the occurrence of each element.
self
as the receiver
is now allowed.
[Feature #11297],
[Feature #16123]
Enumerator::Lazy#eager
is added.
It generates a non-lazy enumerator from a lazy enumerator.
[Feature #15901]Performance improvements
--jit-min-calls
is changed from 5 to 10,000.--jit-max-cache
is changed from 1,000 to 100.Module#name
, true.to_s
, false.to_s
,
and nil.to_s
now always return a frozen String.
The returned String is always the same for a given object.
[Experimental]
[Feature #16150]CGI.escapeHTML
is improved.
GH-2226Other notable changes since 2.6
profile.rb
was removed from standard library.
Proc.new
and proc
with no block in a method called with a block
is warned now.lambda
with no block in a method called with a block raises an exception.Date.jisx0301
, Date#jisx0301
, and Date.parse
support the
new Japanese era.
[Feature #15742]
Download
SIZE: 14703381
SHA1: b54f4633174dbc55db77d9fd6d0ef90cc35503af
SHA256: 7aa247a19622a803bdd29fdb28108de9798abe841254fe8ea82c31d125c6ab26
SHA512: 8b8dd0ceba65bdde53b7c59e6a84bc6bf634c676bfeb2ff0b3604c362c663b465397f31ff6c936441b3daabb78fb7a619be5569480c95f113dd0453488761ce7
SIZE: 16799684
SHA1: 6f4e99b5556010cb27e236873cb8c09eb8317cd5
SHA256: 8c99aa93b5e2f1bc8437d1bbbefd27b13e7694025331f77245d0c068ef1f8cbe
SHA512: 973fc29b7c19e96c5299817d00fbdd6176319468abfca61c12b5e177b0fb0d31174a5a5525985122a7a356091a709f41b332454094940362322d1f42b77c9927
SIZE: 11990900
SHA1: 943c767cec037529b8e2d3cc14fc880cad5bad8d
SHA256: 27d350a52a02b53034ca0794efe518667d558f152656c2baaf08f3d0c8b02343
SHA512: dd5690c631bf3a2b76cdc06902bcd76a89713a045e136debab9b8a81ff8c433bbb254aa09e4014ca1cf85a69ff4bcb13de11da5e40c224e7268be43ef2194af7
SIZE: 20571744
SHA1: fbebdd3a2a641f9a81f7d8db5abd926acea27e80
SHA256: 8bf2050fa1fc76882f878fd526e4184dc54bd402e385efa80ef5fd3b810522e0
SHA512: 5060f2dd3bfd271ef255b17589d6d014260d7ec2d97b48112b717ee01c62fe125c3fe04f813e02d607cea3f0a2a812b14eb3a28d06c2551354dfeff5f4c3dd6b
What is Ruby
Ruby 2.7.0-rc2 Released
Pattern Matching [Experimental]
REPL improvement
irb
, the bundled interactive environment (REPL; Read-Eval-Print-Loop),
now supports multi-line editing. It is powered by reline
,
a readline
-compatible library implemented in pure Ruby.
It also provides rdoc integration. In irb
you can display the reference
for a given class, module, or method.
[Feature #14683],
[Feature #14787],
[Feature #14918]Binding#irb
and inspect results
for core-class objects are now colorized.Compaction GC
GC.compact
method is introduced for compacting the heap.
This function compacts live objects in the heap so that fewer pages
may be used, and the heap may be more CoW (copy-on-write) friendly.
[Feature #15626]Separation of positional and keyword arguments
**nil
is allowed in method definitions to explicitly mark
that the method accepts no keywords. Calling such a method with keywords
will result in an ArgumentError.
[Feature #14183]
Other Notable New Features
.:
, was introduced
as an experimental feature in earlier previews, but was reverted.
[Feature #12125],
[Feature #13581],
[Feature #16275]
Enumerable#tally
is added. It counts the occurrence of each element.
self
as the receiver
is now allowed.
[Feature #11297],
[Feature #16123]
Enumerator::Lazy#eager
is added.
It generates a non-lazy enumerator from a lazy enumerator.
[Feature #15901]Performance improvements
--jit-min-calls
is changed from 5 to 10,000.--jit-max-cache
is changed from 1,000 to 100.Module#name
, true.to_s
, false.to_s
,
and nil.to_s
now always return a frozen String.
The returned String is always the same for a given object.
[Experimental]
[Feature #16150]CGI.escapeHTML
is improved.
GH-2226Other notable changes since 2.6
Proc.new
and proc
with no block in a method called with a block
is warned now.lambda
with no block in a method called with a block raises an exception.Date.jisx0301
, Date#jisx0301
, and Date.parse
support the
new Japanese era.
[Feature #15742]
Download
SIZE: 14686646
SHA1: e04680f57d8b7576637eb75b8b56aceeb1806992
SHA256: 8f94ea7ba79b6e95225fb4a7870e882081182c3d12d58c4cad2a7d2e7865cf8e
SHA512: 9010f72bb3f33b6cd3f515531e6e05198f295bb2a8a788e3a46cdfd776a9f6176b6ba8612f07f0236a11359302d2b77fdecca1dc6be33581edbb028069397a0a
SIZE: 16775053
SHA1: 787a86023f0abe6ca9c0b31e95328725e8bb7814
SHA256: b16cd92479e5648cc53425602e9dc6d76b18dd2cc180add2fd4c9f254646779d
SHA512: d59910a140ea1b7ca7a64073dbbe4cbe8f11cd6fc68ea7874ca160e1a23549bd159f49f4d199002f9806e77d4426bff3aa81b62707d539e0710ece7b7ff83438
SIZE: 11965624
SHA1: 1f9f30eaf1829250931c4c465ee1c15e07452e7d
SHA256: c90d29fba655b2dd577ff755f084e4d1fe0673cfcd888af7ff5d0b2d2f449bb7
SHA512: dba23aada4921c98eb90d216db656833d1759c4f611d5087e2a0123d932ab1c6704dfedc0d671d2d51b4b3949ff95b6aec012481141c6fce3988a3d0bc5d18b8
SIZE: 20642713
SHA1: e0b6f91398d55436b776d7a5eae0faaf810b1578
SHA256: ac87c1666cc840cad26083a067bae1975d1fdb41ca1f1569903c05bca1b61174
SHA512: 4e84b1f59b574a59b5346d30a0770e06ad81a4838813cc8789157f4e1a3fcbe7ca75bf83663c20736024760f1b0675ca288f1cee7f8a28f8918c4e43b0d09982
What is Ruby
Subscribe to web feed.