Prism in 2024— Ruby 3.3 included a new standard library called Prism, a Ruby language parser that can be used internally by Ruby itself or as a library by your own code. It’s been a huge effort, and Kevin shares the full story of Ruby parsing (starting all the way back in 1994!) and how Prism is rapidly becoming a key part of the Ruby ecosystem. Kevin Newton |
SQLite on Rails: The How and Why of Optimal Performance— Stephen is the person I look to when it comes to thinking about using SQLite in Ruby and Rails, and he’s been digging deep into the hows and whys of getting the best performance out of a SQLite + Rails setup. Here, he also covers some of the problems he’s stumbled upon (and solved) along the way. Stephen Margheim |
💎 Gift Egwuenu has the latest RubyGems update for March 2024. Nothing huge, though gem install now respects the umask of the target system and the RubyGems team pulled off a major Postgres upgrade with no downtime. 👏 📅 RailsConf 2024 is now less than a month away (May 7-9 in Detroit) and you can still register to attend. Elsewhere, Rails World takes place in September in Toronto and tickets are expected to be available very soon.. 🪙 RubyGems' Maciej Mensfeld writes about an odd surge of empty RubyGems related to some sort of crypto nonsense.
|
📄 Articles, Tutorials & Videos |
How I Read the Rails Source Code— How do you start reading the code for a codebase the size (and age) of Rails? Grab the debug gem (Rails includes it) and use Bundler to start your coding journey. You can use a similar approach for running all (or some) of Rails’ tests, too. Akshay Khot |
Making a (Sidekiq) Batch Recipe— If you have multiple jobs that can run concurrently, but you need to bring their individual outputs together, you can batch them and listen for callbacks, provided you’re a Sidekiq Pro user. Kevin Murphy |
Gemfast: A Drop-in Replacement for Geminabox— A new self-hosted Rubygems server written in Go, so it can be compiled down a single file and easily deployed on multiple operating systems. You can mirror and cache gems from the main RubyGems registry, as well as serve up your own internal gems, of course. Gemfast |
Along similar lines is Chatwoot, an open source live chat and email support app, also built on Rails 7.0. v3.8.0 dropped this week. |
|