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.
Creating Custom Rails Generators
After several failed attempts at creating custom Rails Generators over the years, I finally got around to really digging in and put together a medium-fidelity guide to understanding them and getting them working. https://garrettdimon.com/journal/posts/creating-custom-rails-generators
A list of places where to promote an article about Ruby
I tried to gather at https://allaboutcoding.ghinda.com/where-to-promote-an-article-about-ruby a list of places where you can promote an article about Ruby
New Truemail 3.0.9
In the latest truemail release has been fixed default email pattern follow to RFC 1035. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists. https://github.com/truemail-rb/truemail
Seed your database with the Faker gem. Then seed 9.4x faster with upsert_all 🎭
Hey RubyFlow, I just published an article on seeding your database with the faker gem. [more inside]
Have rails flaky tests? fix now
With this simple method you can now fix the rails flaky tests in seconds. [more inside]
Don’t reinvent the wheel with Rails exception handling
With the built-in rescue_responses setting, you can map exceptions to error pages in a simple, declarative way. It automatically renders JSON, too! https://mattbrictson.com/blog/handling-rails-exceptions
Running SASS and Tailwind side by side in Rails
Do you need to run Bulma and Tailwind together or interested how it would even work? Read how to do it with cssbundling-rails gem.
DRTiled With Wildfiler | Rubber Duck Dev Show 92
In this episode, we discuss the DRTiled library which helps you load tile data in Dragon Ruby from the Tiled application: https://www.rubberduckdevshow.com/episodes/92-drtiled-with-wildfiler/
Testing Inherited Behavior
Recently I asked how people prefer to see inherited behavior tested. This discusses each of the options in more detail and shows the results of the poll. https://kevinjmurphy.com/posts/testing-inherited-behavior/
Glimmer DSL for SWT 4.28.0.0
Glimmer DSL for SWT 4.28.0.0 (JRuby Desktop Development Cross-Platform Native GUI Framework) is the quarterly major release that happens after a new version of Eclipse SWT (Standard Widget Toolkit) is released. It is wrapping SWT 4.28, which was released on June 5, 2023. [more inside]
Master records selections in Rails app with SQL window functions
Learn how to use row number window function on a practical example to select unique latest grouped records from DB. [more inside]
Your journey as a mid-level Ruby on Rails developer
Get on board and let’s sail beyond the horizon. [more inside]
Business Class, a Ruby on Rails SaaS kit, goes 1.0!
Business Class is finally released! Read the announcement: https://nts.strzibny.name/business-class-brand-new-rails-saas-template/ Watch the demo: https://www.youtube.com/watch?v=s8mM5-snTig Browse the features: https://businessclasskit.com
Deep Dive into RSpec's let Helper
Advanced usage of let
helper in RSpec:
https://dev.to/povilasjurcys/deep-dive-into-rspecs-let-helper-4gkk
Building AI applications with Ruby and Open Source LLMs
Today, I am releasing a new Ruby gem that allows you to create AI applications using Ruby, Aoororachain. [more inside]
An Introduction to Devise for Ruby on Rails
In part one of this series on Devise, we’ll cover the basics of the Devise gem: https://blog.appsignal.com/2023/07/12/an-introduction-to-devise-for-ruby-on-rails.html