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.
rails-new
rails-new allows you to generate a new Rails application without having to install Ruby and the rest of the dependencies of a typical Rails app on your machine. All you need is to have Docker installed on your machine. [more inside]
Upgrading to Kamal 2
Kamal 2 was released recently with a lot of substantial changes and I wrote a little post to show the upgrade process:
How Solid Queue works under the hood
Picture this: you’re six months into a fresh Rails app that processes business-critical jobs with Solid Queue—and you deployed a bug that is wreaking havoc in thousands of jobs. How do you find them? You’ll wish you’d read our latest article from Jeffery Morhous! Learn how Solid Queue works
A Deep Dive into Propshaft and Importmaps in Ruby on Rails 8
Read this blog post explaining the difference between 2 main features of Rails 8 to manage your assets (images, stylesheets, and javascripts) [more inside]
Top 10 Most Excellent Gems to Use in Any Ruby Web Application
The Ruby ecosystem is rich with libraries to enable all sorts of useful functionality. However, at times it’s a challenge when you’re working within a broader Ruby context (aka not using Rails) to find ones which integrate well. Thankfully, there are plenty of gems which are quite solid to use no matter what architecture you choose, and in this article, I’ll share some of my favorites!
Running multiple apps on a single server with Kamal 2
Kamal 2 can finally run multiple apps on a single VPS so I wrote about how this might look like in practice.
Kamal 2
In this episode we look at deploying a Rails 8 beta application to a Digital Ocean droplet. We’ll also look at a scenario of deploying Action Cable broadcasts and another with recurring background jobs.
Open Sourcing our MVP built using Rails7, Litestack, and Kamal
The app gives the website user a wizard form to fill his/her personal details and get matched with 3 best fee-only financial planners. Once the form is filled successfully and all validations are done then user gets registered automatically and see 3 matchings. The user can then book meetings with any 1 or all 3 financial planners. [more inside]
Oktest 1.4.0 Released
Oktest 1.4.0 released. Oktest is a new-style testing library. [more inside]
Adding Sign Up after the Rails 8 Authentication Generator
Quick little article I wrote up as I continue to write my book:
Ruby Rogues Podcast - Building Better Ruby Apps: Glimmer's Component Slots and More
Building Better Ruby Apps: Glimmer’s Component Slots and More - RUBY 653 - Ruby Rogues - Top End Devs:
A list of directories where to link your website if you are using Ruby or Rails
I tried to compile a list of directories where anyone can submit their company/product if they utilize Ruby or Ruby on Rails.
Setup Rails 7.2 and Docker Compose for Capybara/Selenium/RSpec and more: Step-by-Step
Set up Rails 7.2 with Docker Compose! Learn to configure Capybara, Selenium and RSpec for testing, PostgreSQL and Sidekiq. By the end, you’ll have a complete Rails Dev Environment running in Docker where you can see tests running in a browser inside the docker container! [more inside]
Measuring the Impact of Feature Flags in Ruby on Rails with AppSignal
We’ll set up feature flags in a Solidus storefront using Flipper and AppSignal’s custom metrics:
Kamal Handbook, 2nd edition is in beta
Kamal Handbook got updated for Kamal 2. Hooray! :)
A practical guide to web scraping with Ruby
Happy to see HTTParty make an appearance in this new Ruby web scraping article from Jeffery Morhous!
Git Improved 0.2.0 released
Git Improved is a wrapper command for Git. It is more intuitive and easier to understand than Git commands. For example: [more inside]
Leveraging Turbo 8: Best Additions to Implement in Rails 8 Projects
This article will explore Turbo 8’s powerful features and a little bit of code. I swear, you will be surprised by how little extra code is needed to implement all of this! [more inside]
Migrating from Devise to Rails Auth before you can say "Rails World keynote"
Miha already migrated his project from Devise to the brand new Rails Authentication released with Rails 8 beta. He actually did it all by Saturday, in just 2 days, including the guest post to publish on my blog. I was just slow on my part but it’s here now, with all the details of the migration: Migrating from Devise to Rails Auth before you can say “Rails World keynote”