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.
Hotwire Introduction
Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them. https://www.driftingruby.com/episodes/hotwire-introduction
Ruby-on-Rails authentication tutorial with Devise
Ruby-on-Rails has no built-in authentication mechanism. So let’s pick the well-known gem Devise in this tutorial..Read more
The Great Ruby Enum Debate - Join Us
Hello, as you know (and for sure nobody cares) I got cancel cultured twice (on r/ruby and ruby-talk) - anyways - if anyone is interested in enum data types / classes / gems for ruby I invite you to join the Great Enum Debate / Discussion over on GitHub (at an issue ticket of the latest & greatest enums gem - now turned / converted into a discussion thread). Questions and comments welcome. Please, use the GitHub ~issue ticket~ discussion thread .
..in Montreal..see why JRuby is such a powerful tool..for building..desktop apps
“Great opportunity next week in Montreal to see why JRuby is such a powerful tool for building scalable, cross-platform desktop applications… entirely in Ruby!” - JRuby Dev Team [more inside]
Simplify your system debugging by introducing event store linking
Last week I was dealing with an interesting bug. In our system, there was a user that didn’t belong to any tenant. And a tenant that didn’t have any users. It’s a situation that shouldn’t happen in our application. [more inside]
How to Install Bootstrap in Rails 7
With the introduction of the new asset pipeline, there are a lot of new tools available for you to use. So the question is, “How do you install Bootstrap in Rails 7?” [more inside]
Build A SaaS App In Ruby on Rails Ebook Rewrite for Rails 7
The rewrite is about about 75% of the way through the rewrite of the book and looking to have the book done very soon. Here are some of the changes: [more inside]
Rubber Duck Dev Show Episode 59 | Rails & Postgres Scaling with Andrew Atkinson
In this episode, we discuss scaling your Ruby on Rails web application as well as your Postgres database with Andrew Atkinson: https://www.rubberduckdevshow.com/episodes/59-rails-postgres-scaling-with-andrew-atkinson/
Ruby vs JavaScript
Ruby and JavaScript and two fantastic languages for the web. Let’s see the difference between them, to help you to learn Javascript if you know Ruby, and vice-versa..Read more on Bootrails
Glimmer DSL for SWT Video Tutorial 34 - Hello, Refined Table!
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! [more inside]
Decoupling Views from Controllers in Rails (Smalltalk MVC Style)
This blog post is an oldie but a goodie: “Decoupling Views from Controllers in Rails (Smalltalk MVC Style)”. Its concepts come straight out of desktop development, providing examples of how web development could be inspired by it and improved as a result. [more inside]
How to Install (Or Get Rid Of) therubyracer on Apple Silicon Macs
After seeing so many people struggle with therubyracer on M1/M2 Macs, I wrote this detailed tutorial to prevent more suffering. In many cases, you might not need therubyracer gem at all. Learn how to get rid of the rubyracer or replace it with better options.
Debugging in Ruby with AppSignal
Learn how you can use AppSignal to log and debug your Ruby application: https://blog.appsignal.com/2022/09/21/debugging-in-ruby-with-appsignal
Rails 7.1 - Optimizes Active Record batching for whole table iterations
Rails 7.1 - Optimizes Active Record batching for whole table iterations. The following blog explains the same with examples. Please do give it a read! [more inside]
Daniel Terhorst-North on Simplifying Testing and Development
In Agile methodologies, testing is one of the pillars of the product-building process. In this episode, Software Developer Daniel North teaches us how to simplify tests. [more inside]
Configure ROM from scratch!
Learn how to integrate the best ORM in Ruby ecosystem with Hanami (and any Ruby) application! [more inside]
Symmetric Spies: RSpec Test Organization
Secret agents must keep followers off their trail. Your tests don’t have to. There are many options to arrange test doubles with RSpec. This article proposes doing so in a way that provides a consistent test organization. [more inside]
[ANN] Ralix v1 🚀 + Rails and Middleman starter kits!
Hello Rubysts 👋 We just published the v1.0 of Ralix, your front-end micro-framework for SSR webapps, that pairs well with Turbo. [more inside]
Deploying Rails with Docker and AWS Fargate
Want to deploy a Rails app with Docker and AWS, but not sure where to start? AWS Fargate simplifies the convoluted process of deploying Docker on Amazon’s Elastic Container Service (ECS). It’s also a good alternative to Heroku. https://www.honeybadger.io/blog/rails-docker-aws-fargate/