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.
Maglev: a page builder in your Rails app
The very first version of our open source page builder has been released 🎉 [more inside]
Improve Code in Your Ruby Application with RubyCritic
Let’s take a look at RubyCritic and dig into RubyCritic’s reports. https://blog.appsignal.com/2022/10/19/improve-code-in-your-ruby-application-with-rubycritic.html
How to Use Rubocop for Your Team’s Rails Apps
Rubocop helps your team decide on and enforce code standards in Ruby projects, which will undoubtedly improve the quality of your codebase over time. https://semaphoreci.com/blog/rubocop
ViewComponent in the Wild II: supercharging your components
In part two (the final part) of this article: GitHub’s ViewComponent library has been around for some time, saving developer sanity when building Ruby on Rails app view layers. It’s steadily grown in popularity—but probably not as quickly as deserved. In this series, I explain why to give it a shot! We discuss best practices and examine various tips and tricks accumulated in our ViewComponent-powered projects. [more inside]
Paginate resources in Hanami apps with ROM
Do you validate pagination parameters? Or filter params? In this episode, I’m showing the possible use case for doing exactly that using built-in ROM pagination support and dry-schema. [more inside]
Enumerating Musical Notes
This post utilizes a score of Array and Enumerable methods to model music notes. [more inside]
How to Build Your Own Rails Generator
Generators are a powerful feature you can use to automate routine tasks in Rails—but do you know how to make your own? This article explores Rails generators in depth, including how to build a generator from scratch. https://www.honeybadger.io/blog/build-a-rails-generator/
Rubber Duck Dev Show Episode 61 | Live Streaming Tools & Toys With Aaron Francis
In this episode, we discuss different tools & toys you can use to live stream or just record your development or training videos with Aaron Francis: https://www.rubberduckdevshow.com/episodes/61-live-streaming-tools-toys-with-aaron-francis/
Passkit: a Rails Engine to serve Wallet Passes
This new Rails Engine, implements all the features you need to start serving Wallet Passes from your Rails App. It comes with a dashboard, example passes, example emails, all APIs, and much more! [more inside]
Ruby-on-Rails and SvelteJS tutorial
SvelteJS is a very promising JavaScript tool that gained traction recently. For those who don’t like Hotwire for Ruby-on-Rails, it sounds a good alternative. [more inside]
Keep Rails DB schema consistent while switching between branches with no additional a
Switching between branches you might end up with inconsistent DB in the current branch due to migrations run inside other branches. I’ve just released a gem that solves that issue for good: https://github.com/widefix/actual_db_schema
re2 1.5.0
Update to Ruby bindings to Google’s re2 regular expression library. 1.5.0 adds the ability to search a collection of patterns simultaneously with an RE2::Set.
Glimmer DSL for SWT Video Tutorial 35 - Scaffolding and Packaging
Learn how to scaffold and package Ruby desktop applications from scratch, including how to desktopify any web application with one command. [more inside]
Programming Pixel Art (2D Graphics) in Ruby - Code Monkey Diary / Updates
Hello, since I get cancel cultured from left (and right) I now post all ruby gems updates (mostly about pixel art programming) to the new humble (personal) blog titled Gerald Bauer’s Code Monkey Diary / Updates - What’s News?. (Programming in Ruby) Questions and comments always welcome. Please post / use the D.I.Y. Punk (Pixel) Art Forum. PS: See the pixelart-programming/samples.rb script for the nyan cat, black cat, mario (bro.) & more (generated from scratch / zero) with ruby.
What's wrong with Rails credentials?
ViewComponent in the Wild I: building modern Rails frontends
In Part 1 of this thrilling series from Backend Engineer Alexander Baygeldin, he gives a high-level overview of GitHub’s ViewComponent library, how it offers a great approach for building modern frontends with Ruby on Rails—and why it deserves attention! [more inside]
What It Took to Build a Rails Integration for Rodauth
In this article, I describe my journey of making Rodauth easy to use in Rails – https://janko.io/what-it-took-to-build-a-rails-integration-for-rodauth/
My experience attending the Rails SaaS conference
Throughout my career, I’ve helped build other people’s dreams and assisted in making them independently wealthy. Why hadn’t I considered doing this myself? Answer: I didn’t think I could. [more inside]
ROM-Factory - Your testing buddy from for Hanami apps.
Check the FactoryBot alternative, [suited for ROM-based applications])(https://hanamimastery.com/episodes/31-rom-factory ), including Hanami 2. [more inside]
Ruby on Rails 7 — High-performance frontend development with Esbuild, Rollup & Vite
Fast Server Start -Unlike Webpacker, files are processed on demand! Instant Changes - Fast updates thanks to HMR. Goodbye, full-page reloads! Zero-Config Deploys - Integrates with Rake asset management tasks. [more inside]
Montreal.rb Talk 2022-10 Glimmer DSL for SWT - Ruby Desktop Development GUI Framework
This is the most up-to-date and complete Glimmer DSL for SWT presentation for building and packaging native desktop applications in Ruby! Check out the talk’s video and slides that were just posted! [more inside]