News
What is the difference between Turbo and Stimulus, and what exactly is Hotwire?
If it has been a while since you last used Rails, you may be feeling a little lost with some of the newer, front-end focussed features that Rails has added over the years. Stimulus, Turbo Drive, Turbo Frames, Turbo Streams, Strada, Hotwire - what ...
[Proposal] Optimistic locking without `lock_version` - rubyonrails-core - Ruby on Rails Discussions
There are some use cases where optimistic locking is useful, but doesn’t need the full complexity of a lock_version increment. For example, say a record in the database needs to be “claimed” by the first user who claims.
Introduce defp keyword for defining overloadable, pattern matched methods
Pattern matching has become one of my favorite features of Ruby, if not my favorite. It changed the way I write and express my thoughts through clean, maintainable code. And I'd like to use it more.I propose a new keyword, defp, for defining a met...
JRuby: A High-Performance, Open-Source Implementation of Ruby for the JVM
TL; DR: We spoke with JRuby Co-Lead Developer Charles Nutter on JRuby’s journey during the COVID-19 pandemic, the open-source community, and the implementation’s compatibility and performance. JRuby released its latest version, JRuby 9.4, in Novem...