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.
Migrating From Turbolinks To Turbo
Turbolinks is no longer being developed. It’s been superceeded by Turbo, which is part of Hotwire. In this article, Julio Sampaio shows us how to port our existing Turbolinks apps to Turbo. https://www.honeybadger.io/blog/hb-turbolinks-to-turbo/
Working with X ebooks available for free
This collection of free ebooks was originally available for sale a few years ago but seemed to have disappeared for a while. The author (Jeremy Storimer) seems to have resurfaced and made them available for free. They are slightly dated but still excellent. https://workingwithruby.com
Rails authentication with Rodauth, an elegant Ruby gem
Rodauth is a gem that handles authentication. It’s a Devise alternative. We wrote a small, beginner-friendly tutorial about it. [more inside]
Super v0.20.0
Super is a modern, lightweight Rails admin framework. https://zachahn.com/posts/1641782774
More Glimmer Custom Shape Gems like Cylinder and Cube
New Custom Shape Gems have been published for Glimmer DSL for SWT: Cylinder, Cube, and Message Box Panel! [more inside]
Rubber Duck Dev Show Episode 24 | Talking Ruby & Rails with Andrew Mason
Hear us chat about programming, Ruby & Rails with our special guest Andrew Mason of the Remote Ruby Podcast and the Ruby Radar Newsletter: https://www.rubberduckdevshow.com/episodes/24-talking-ruby-rails-with-andrew-mason/
The Decorator Pattern in Ruby
The Decorator pattern allows you to attach new behavior to individual objects dynamically without affecting their classes or other objects of the same class. [more inside]
Always set explicit timeouts
A short story about why is it always worth to set timeouts in your HTTP calls. [more inside]
Quarto Game + Canvas Shape DSL Tutorial
At a Christmas party I attended a couple of weeks ago, I discovered a classic board game called Quarto. In fact, the host of the party who’s worked for a major gaming company in the past asked me if I knew how to build it as a computer application. I discounted myself as a non-game-developer who only builds business applications, but then followed that by saying that if it is only a 2D game, it was simple to build. So, the challenge was on!!! [more inside]
The Adapter Pattern in Ruby (video)
The Adapter pattern allows you to make incompatible objects work well together by using an adapter object. [more inside]
Next Level Ruby on Rails Application Monitoring with AppSignal
Let’s run through adding custom instrumentation and monitoring to a Ruby on Rails application: https://blog.appsignal.com/2022/01/05/next-level-ruby-on-rails-application-monitoring-with-appsignal.html
RVM-TUI 0.0.6
Given how practical and popular RVM (Ruby enVironment Manager) is, a while ago, I created a text-based user interface for it… [more inside]
Authorization with JWT in ANY Ruby application
Authorizating your API applications can be trivial, if you have proper tolls to do it! Here I showcase how authorization with JWT can be done effortless in any ruby application by using Hanami 2.0 as an example and the jay_doubleu_tee
gem. [more inside]
Deploying Static Sites
Github Pages and Gitlab Pages are both great places to quickly and easily push up static sites directly from your code repository. https://www.driftingruby.com/episodes/deploying-static-sites
How to create a bunch of Rails apps
Beginner-friendly, short, but hopefully useful tutorial. We use this small script every day, each time we want to try a new gem or isolate a bug. [more inside]
Rubysmith 1.0.0 - A command line tool for building Ruby projects
Happy to announce the release of Rubysmith 1.0.0 which provides a command line tool for building new Ruby projects quickly. Even better, it’s built on Ruby 3.1.0 and you get a ton of tooling often needed when crafting professional Ruby projects beyond the basic hobby setup. Everything is fully customizable with support for local or global settings too. You only need to type gem install rubysmith && rubysmith --build my_new_project
to get started. 🎉
Las Dos Fridas (Anno 2022) And More - New Pop Art Image Helpers
Hello, In the ongoing pixel art programming series - yes, in ruby - I have put together some pop art image helpers inspired by Andy Warhol classics such as Double Elvis (Anno 1963), Thirty Is Better Than One (Anno 1963), Two Hundred Is Better Than One (Anno 1963) and some more. Yes, you can - turn your pixel art into modern pop art classics / originals. See the Double Frida (Anno 2022), Triple Frida (Anno 2022), Forty-Two Fridas Is Better Than One (Anno 2022) and some more samples to get your started. Happy New Year 2022! Happy Pixel Programming with Ruby.