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.
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]
HTML from markdown made simple! | Hanami Mastery #39
Have you ever considered how to efficiently render HTML out of your markdown input in ruby? Here we cover this problem with additional custom cosmetic improvements. [more inside]
Using FormObject pattern in Ruby APIs
An article about why and how to use FormObject pattern outside Ruby forms https://dev.to/povilasjurcys/using-formobject-pattern-in-ruby-apis-3f8c
Rubber Duck Dev Show Episode 70 | Teaching Young Developers with Melissa Amaya
In this episode, we discuss how to teach young developers with Melissa Amaya: https://www.rubberduckdevshow.com/episodes/70-teaching-young-developers-with-melissa-amaya/
actual_db_schema supports Rails 6 and older now
actual_db_schema got a new release today that adds Rails 6 and older versions. Big thanks to https://github.com/OuYangJinTing who applied the fix to make it happen!
Ruby Gemverse Leaderboard - "I only believe in statistics that I doctored myself"
Hello, to answer the question what have you done for ruby (by publishing & updating gems, for example) I put together a new ruby leaderboard formula that counts the totals of new gems times two plus all updates (over all years). Note: Yes, you can use the gemvervse gem to calculate your own leaderboard score. The first standing (for reference) so far: - 244 Gems, 1652 Updates - Gerald Bauer; 134 Gems, 1642 Updates - Andrew Kane; 100 Gems, 773 Updates - Jan Lelis; 32 Gems, 149 Updates - Victor Shepelev … Happy data wrangling with ruby. PS: For another “real-world” leaderboard example see the Vienna.rb / Wien.rb - Ruby Meetup / Stammtisch in Vienna, Austria page.