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.
Today
scribelite gem v0.1 - Inscription / Inscribe SQL Database for Ethereum & Co.
hello, another little update from the rubidity & rubysol universe. let’s welcome the new scribelite gem - an inscription / inscribe (calldata) database (schema & models) for ethereum & co. that let’s you query via sql and more. now you can build your own off-chain indexer and more. happy blockchaining, data wrangling and dash boarding with ruby.
Rails 7.1 Introduces Default Dockerfiles
Rails 7.1 Introduces Default Dockerfiles. Dockerfiles facilitate the deployment of Rails applications in production environments using Docker. [more inside]
gen-AI Prompt Management with Ruby
Discussing the prompt_manager gem with IRB examples. [more inside]
Turbo 8 in 8 minutes
I wrote https://fly.io/ruby-dispatch/turbo-8-in-8-minutes/ so people can quickly get a feel for the upcoming Turbo 8 release without getting bogged down by details other articles include that compare Turbo 8 with older versions of Turbo. [more inside]
Staying Ahead of the Rails Curve: Cultivating a Culture of Continuous Upgrade for Com
Most people and companies that we talk to about upgrades assume that we generally help organizations that need to migrate to the latest Rails version. [more inside]
Font awesome icons in Hanami 2 apps!
I’m coming back with the tutorials, with a series about the view-layer. [more inside]
Reexamining FizzBuzz Step by Step – and allowing for more varied rules
I went and reexamined the good old FizzBuzz coding challenge to walk through it step by step and make it more extensible using a Rule
object.
Using Turbo Frames and Streams without Rails
Recently I’ve been using Turbo frames and streams more and wanted to really understand how they work. To do that I set out to rebuild a very simple To-Do application (peak originality!), using Turbo but without Rails or turbo-rails gem. I did that using vanilla Sinatra. As you’ll see, it was really simple: Using Turbo Frames and Streams without Rails
Benry-CmdOpt 2.3.0 released
Benry-CmdOpt 2.3.0 released.
Benry-CmdOpt is a command option parser, much better than optparse.rb
.
In this release, validation of option definitions is improved. [more inside]
A Brief Introduction to the Lesli Gem
This is the continuation of my previous post regarding the Lesli SaaS Framework. This time, I’d like to explore further into the Lesli gem. [more inside]
The Utility of ActiveModel
The Utility of ActiveModel: Make use of various ActiveModel modules in your ruby objects to get ActiveRecord like behavior like type casting, validation, and callbacks.
Rails 7.1 Adds ActiveJob#perform_all_later To Enqueue Multiple Jobs At Once
Bring efficiency and flexibility to job enqueuing in Rails 7.1 with ActiveJob’s perform_all_later. Handle diverse job arguments, support bulk enqueuing, and offer enhanced control over job execution. [more inside]
Programming Ethscriptions - Ch. 1: Sub 1k - Inside The First Thousand Ethscriptions
Hello, i started a new (free) online book titled “Programming Ethscriptions (in Ruby) - Step-by-Step Book / Guide”. the first chapter titled “Sub 1k - Inside The First Thousand Ethscriptions” is online. happy blockchain and data analytics scripting with ruby.
Asynchronous Loading in Active Record: Boosting the Performance of your Rails Applica
Introduction to what is asynchronous data loading in Active Record with the load_async method and its friends. [more inside]
GitImproved 0.1.0 released
GitImproved is a wrapper script for Git command. It provides intuitive and much better interface than Git. See the simple document for details. [more inside]
Benry-CmdApp 1.0.0 released
Benry-CmdApp is a framework for command-line applications that use subcommands, like git
, docker
, or npm
.
Release 1.0.0 has been completely rewritten from scratch and includes many breaking changes.
See the document for details.
datauris gem v1 - (modern) helpers to parse / build data uris (incl. base64)
hello, did you know? the most popular data uri gem (4+ million downloads) in rubyland is from anno 2014 (last update) unmaintained and broken (?). is ruby ded? not yet. let’s push a gem with (modern) helpers to parse / build data uris incl. base64-encoded/decoded images and more. let’s welcome the datauris gem v1 - last update some minutes ago ;-). questions and comments welcome.
How We Escaped the Dependency Upgrade Maze on 20+ Projects
Open-source dependencies are practical, convenient, time-saving – and sure to make your life miserable if left unattended. Read on to learn how we optimized our dependency upgrade process and got all our Ruby on Rails projects updated to the latest version with minimum time loss. [more inside]
Use enum to store integer instead of string as class name in polymorphic associations
Super simple solution to improve performance of polymorphic associations https://github.com/olegantonyan/polymorphic_enum_type
015: Exploring Turbo 8 with Jorge Manrubia
In this episode, @jorgemanru and I dive deep into Turbo 8, discuss Active Record Encryption, working at @37signals and a lot more! [more inside]
How Much Does it Cost to Upgrade Rails?
FastRuby.io has invested more than 30,000 hours in total in upgrading Rails applications, having completed more than 100 upgrade projects. In this article, we’ll leverage our historical data and what we learned to help you answer this question: How much will this cost? [more inside]