The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Drum Solo Demo of Glimmer Metronome (+ Menus & Shortcuts)
I recorded a drum solo to demo Glimmer Metronome, a Ruby-based metronome GUI app that supports different beat counts, click sounds, and tempos, including tap-based tempo calculation. It was built with Glimmer DSL for SWT using JRuby to help me with my drumming practice. Glimmer Metronome just received a new update in version 1.1.4 that adds menus and keyboard shortcuts, thus becoming more user-friendly when used via the keyboard alone. [more inside]
Ronin 2.0.0 finally released!
After nearly a full year of non-stop development since the initial announcement of The Big Refactor, 4153 commits made, 700 issues closed, and a month of beta testing, Ronin 2.0.0 has finally been released!
Ruby on Rails associations can be buggy
Unfortunately, I learned it the hard way. Check out my new article so you can avoid the same mistakes. https://evgeniydemin.medium.com/ruby-on-rails-associations-can-be-buggy-373930db8c54
Write your own Domain Specific Language in Ruby
Let’s write our own DSL in Ruby, for gems and as part of larger apps!
A Guide to Rails View Helpers
Find out how you can keep your Rails views readable using helpers. https://blog.appsignal.com/2023/02/01/a-guide-to-rails-view-helpers.html
Hanami v2.0.3
Params pattern matching, HTTP statuses as symbols, minor enhancements, and bug fixes. https://hanamirb.org/blog/2023/02/01/hanami-203/
Spin up your Hanami apps easily with Hanamismith!
I always liked rails templating collections that allowed us to quickly compose ruby apps. Now the same is possible for Hanami
Developers Guide to Scale Ruby on Rails Application
learn how to scale your Ruby on Rails application
Fantastic global methods in Ruby and where to find them
Ever wondered where Ruby stores methods defined in the “global” scope? Check out my new post
Rails 7. Start Kit. Release 1.4 has been published
Hello! New release of Rails 7. Start Kit is here! Release 1.4 introduce improvements in bin
folder and commands. Some issues for Linux users were fixed. Full list of recent changes you can find in the release list. Have an easy and happy coding!
ruby-install 0.9.0 released!
ruby-install 0.9.0 has been released! Contains usability improvements, some new configurable environment variables, and new --update
and --debug
options.
HexaPDF 0.29.0 - Support for PAdES Compatible Digital Signatures
The latest release of HexaPDF features support for PAdES compatible digital signatures as well as improved support for signing via e.g. HSM. [more inside]
Cross-cluster Associations in Rails 7
In this article, Julie Kent discusses using associations in Rails when the underlying data model spans multiple databases. https://www.honeybadger.io/blog/cross-cluster-associations-rails/
The Rails and Hotwire Codex: Build an app for web, iOS, and Android
A comprehensive eBook spanning over 900 pages which will teach you everything you need to know about Rails 7, Turbo, Turbo Native, and Stimulus. [more inside]
Rubber Duck Dev Show Episode 71 | Short Ruby News With Lucian Ghinda
In this episode, we discuss a new weekly resource “Short Ruby News”. We discuss how it got started and why with Lucian Ghinda: https://www.rubberduckdevshow.com/episodes/71-short-ruby-news-with-lucian-ghinda/
solidity gem - (fuzzy quick & dirty) parser for (crypto) contracts for ethereum & co.
Hello, in the ongoing crypto winter programming series in ruby I added yet another gem, that is, solidity that ships with a (fuzzy quick & dirty) parser for the solidity (contract) programming language. What’s the point? The first usage sample is to generate outlines from contract sources - see some real-world examples in the readme. Happy blockchaining with ruby. Cheers. Prost.
Glimmer Ecosystem, Glimte 3rd Party Framework, PasswordStore
Traditionally, Glimmer GUI gems have been mostly a one-sided effort. Well, that changes with Glimte! Glimte is a 3rd party framework built on top of Glimmer (Tk flavor) by Phaengris to facilitate following a certain flavor of the MVC pattern (Model-View-Controller) called MVVM (Model-View-ViewModel). It encourages a model of programming for desktop GUI views that is similar to Rails .erb. A Linux password manager is built with it as a Ruby GUI app called PasswordStore. [more inside]
Solidus v3.3 has been released
Exciting news for the Solidus community! We are thrilled to announce the release of Solidus v3.3. Please, read our upgrade instructions at https://guides.solidus.io/upgrading-solidus/v3.3.html We’ll be releasing v4 later this year, so stay tuned!
Localizing Rails applications
I work on Phrase Strings, a localization platform which is itself translated to 11 languages. I put together a thread on localizing Rails applications which you might find interesting.
Bridgetown "Bonny Slope" 1.2 is Released
We’re pleased to announce the v1.2 release of Bridgetown, the Ruby-based site generator & fullstack framework. Bridgetown 1.2 features a new plugin configuration format, slotted content, easier access to data, and more. Check out the details of our first big release of 2023!
Calling Ruby Methods in C: Avoid Memory Leaks
Discover how you can avoid memory leaks in your C extension by using functions like rb_protect
: https://blog.appsignal.com/2023/01/25/calling-ruby-methods-in-c-avoid-memory-leaks.html
How and Why to Upgrade the Ruby Version in Your Project
After seeing many people struggle to install older Ruby versions, I wrote this detailed guide that explains the why, when, and how to update the Ruby version in your project (Rails, Jekyll, Sinatra, ReactNative, etc.).
Handling external API errors: A resumable approach
Clarifying a few possible ways to implement resumable workflows when working with external APIs. Examples in Ruby. [more inside]