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.
Build A SaaS App with Ruby on Rails 7 Presale is up
It’s that time of the Rails release cycle where I go through and rewrite the book to work with the latest and greatest from the Current Rails releases. [more inside]
A Look at Rails Hotwire: Turbo Drive
When the Turbolinks technology first came out in Rails 4, some people did not understand what it was really about. I happened to get it right away only because I personally implemented my own version of Turbo Drive for one of my client projects before Turbolinks was released (around 2011), so I really appreciated Turbolinks when it was released. With the latest updates in Rails 7, the Turbolinks technology has been renamed to Turbo Drive (now part of Hotwire) since it not only accelerates hyperlinks, but also form submissions too. [more inside]
Rubber Duck Dev Show Episode 38 | Small Projects
Hear two rubyists discuss different small projects they are working on: https://www.rubberduckdevshow.com/episodes/38-small-projects/
A GitHub Actions Rails CI Workflow in 5 lines
setup-rails is a re-usable GitHub Actions workflow for quickly and easily enabling CI for Rails apps. By creating a single 5-line configuration file in your repo, you can have a working CI workflow which configures the database and runs your app’s tests.
Glimmer DSL for SWT Video Tutorial 11 - Hello, Code Text!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT Video Tutorial 11 is out! It walks software engineers through Hello, Code Text! [more inside]
Ruby on Rails inline editing with Hotwire
In this video, we’re going to take a look at inline editing with Hotwire. https://youtu.be/hyV-J-sA1ng
A slice of life: table partitioning in PostgreSQL databases
In this overview of table partitioning in PostgreSQL databases, Ruby on Rails developers (and backend engineers in general) learn why and how to implement partitioning, then explore and solve common Rails problems and pitfalls. [more inside]
Fun with Hanami actions
Hanami actions are one of the richest building blocks in terms of available features and in this episode I want to go through them, showing how to validate params, handle errors and and use before or after hooks. [more inside]
Monocle: a bidirectional code generation library
I just published a bidirectional code generation library. Afaik it’s the first of its kind, and it opens up a lot of possibilities for cool new types of dev tools. https://blog.luitjes.it/posts/monocle-bidirectional-code-generation/
Synvert Playground
synvert-ruby is a tool to write snippet code to rewrite your project code. [more inside]
216+ Ruby on Rails Open Source Applications You Can Use as a Reference
No idea how to implement a new feature? A proper model, controller, migration? Or how to write a test? What if you had a massive library of Ruby on Rails Applications to use as a reference? Here’s how to browse 216+ Rails Applications you can learn from! 💣 [more inside]
A Generic `Image` Wrapper for Active Storage in Rails 7
How to configure a generic Image wrapper for Active Storage attachments while preserving Rails 7’s pre-defined variants in a has_one setup! https://jonsully.net/blog/a-generic-image-wrapper-for-active-storage/
see familiar details from rails logs in the rails console
https://github.com/igorkasyanchuk/execution_time - automatically benchmark execution time of your code in rails console (see the demo). Now with fixed Ruby 3 support.
Rubber Duck Dev Show Episode 37 | Working With Outside Teams
Hear two rubyists discuss how best to work with outside project teams: https://www.rubberduckdevshow.com/episodes/37-working-with-outside-teams/
10 Books Every Senior Engineer Should Read
This list contains a mixture of classic, timeless texts and a fair share of modern game-changing publications, aimed at senior engineers and devs. [more inside]
Lisa Crispin: Holistic Approach to Testing
🎧 A great interview with Lisa Crispin about adopting a holistic approach to testing and helping organizations adopt continuous integration. [more inside]
Glimmer DSL for SWT Video Tutorial 10 - Hello, Styled Text!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT Video Tutorial 10 is out! It walks software engineers through Hello, Styled Text! [more inside]
Generating the Gemfile.next.lock
We recommend using the Dual Boot technique for upgrades. This requires us to generate a Gemfile.next.lock file that will be used to boot the app with the next version or Rails. In this article we’ll share 2 techniques to generate this file: the faster one and the safer one. [more inside]
Ruby on Rails Flash Messages With Hotwire
In this video, we’re going to take a look at Rails’ flash messages, how they work, and what changed since Hotwire became available. https://youtu.be/G1I7FLFuLlk
Why Ruby has Symbols?
In my recent blog post I describe the difference between strings and symbols in Ruby. It starts with the usage difference and then digs into how interpreter makes related optimizations.