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.
abi2sol gem - command-line tool for abi to sol(idity) contract source code generation
Hello, in the ongoing crypto winter programming series in ruby I added yet another gem, that is, abi2sol that ships with a command-line tool that lets you generate solidity (contract) source code from application binary interface (abi) definitions (in json). Happy blockchaining with ruby. Cheers. Prost.
Q&A with Hanami+DRY+ROM core | Collecting questions for Hanami Mastery Special (#050)
We’re happy to announce, that for Episode #050 we’ll host a QA session with Hanami core team! And all of you can be a part of it! Ask your questions here! 👇 [more inside]
Deployment from Scratch with a global PPP discount
If you are from a developing country such as Philippines, you can now get my book on deploying Rails applications with a significant discount. Up to 60% for some destinations.
FormService: a PORO ServiceObjects with a state
An easy-to-implement technique that allows having validations and state objects on top of your services without changing a single line of code. https://dev.to/povilasjurcys/formservice-a-poro-serviceobjects-with-a-state-4a75
Release Management: Is Your Product Ready for Success?
You never get a second chance to make a first impression. A bad first release can ruin months of work. How do we maximize the chance of success? [more inside]
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]