One engineer company with Ruby on Rails

All slide content and descriptions are owned by their creators.

#Consulting#Ruby on Rails
Added: 30 Apr 2024
Refactoring for Readability in Ruby: a Showcase

The problem Within my 10 years of developer experience, over and over again I see an...

#Consulting#Ruby#Ruby on Rails
Added: 30 Apr 2024
Ruby on Rails: Native route constraint for authentication

Since Rails 7, there's more and more tooling that enables us, developers, to roll our own...

#Backend#Ruby on Rails
Added: 30 Apr 2024
HotwireCombobox

HotwireCombobox is at an early stage of development. It's nearing a beta release, but the API might change and bugs are expected. Please continue to use the library and report any issues in the GitHub repo.

#Frontend#HOTWire#Javascript#Packages
Added: 30 Apr 2024
Generate magic tokens in Rails with generates_token_for

For a long time, and probably still today, the reference for authentication in Rails is using a gem like Devise. Thing is, you’ll probably end up customizing it a lot: views, emails, onboarding flow, etc. Since Rails 7.1, we have access to several new features that make it easier to...

#Backend#Ruby on Rails
Added: 29 Apr 2024
Turbo Refreshes, Frames, and Streams

Turbo Refreshes update the entire current page in place while keeping some UI state e.g. the page’s scroll position. This might seem like overkill in some cases and they’re slower that Turbo Streams, but they can really simplify response code (and the performance hit may not matter anyway).

#Frontend#HOTWire#Ruby#Ruby on Rails
Added: 27 Apr 2024
authenticate_by: Prevent timing-based enumeration of users. | a-chacon

With the introduction of authenticate_by in Rails 7.1, we can now prevent enumeration attacks based on response times.

#Backend#Ruby on Rails
Added: 20 Apr 2024
Delegated types in Rails: I tried them, and I'm not sure I really understood them. - Remi Mercier - Ruby on Rails Developer

Delegated types are a modelization pattern introduced in Rails in 2020. And developers have mostly been scratching their head for a few years trying to use them in their applications. Today, I want to share a real-world use case. I'll walk you through my pre-existing domain architecture, my initial requirements, my mistakes, how I eventually used delegated types, what I learned and my open questions.

#Backend#Ruby on Rails
Added: 18 Apr 2024
Dual-Boot Ruby on Rails Using Docker - FastRuby.io | Rails Upgrade Service

How can we use the Dual-Boot technique efficiently to upgrade our Ruby or Rails application when the workflow involves using Docker? Let's see 2 approaches.

#Backend#DevOps#Ruby on Rails
Added: 17 Apr 2024
How to Set Up a Custom Email with Cloudflare and Mailgun

As a software engineer, you may consider having a professional email account along with your own website, like "[email protected]". But this may cost a certain amount that you'll not be willing to pay. But do you know you can do it for free? There is actually a way to do

#Consulting#Tools
Added: 16 Apr 2024
Rails: Environment Configuration (Magical) Instance

After instantiating your rails application, we have codes generated for us. Let’s focus on a particular section. Focus on the environments…

#DevOps#Ruby on Rails
Added: 13 Apr 2024
Let there be docs! A documentation-first approach to Rails API development—Martian Chronicles, Evil Martians’ team blog

We examine approaches to API documentation, with a case for why the documentation-first approach is beneficial, plus, we'll not only introduce a new Ruby gem, Skooma, that will be a revelation for those who are ready to follow this path, you can also read on for practical tips and advice for jumping in.

#Ruby on Rails#testing#Tools
Added: 9 Apr 2024
Work around Rails schema noise with one weird trick

The Rails robots that comprise Active Record do their best to be helpful by keeping your db/schema.rb file up to date — and tend to create pesky unwanted changes in your schema. Here’s an easy fix.

#database#Ruby on Rails
Added: 9 Apr 2024
Optimized Model Auditing with PaperTrail

Learn how to optimize model auditing in your Rails application using the PaperTrail gem by setting up separate audit tables for each model, enhancing performance and organization in the auditing process

#Backend#Gem#Ruby on Rails
Added: 7 Apr 2024
How I improved our CI build time from 24mins to 8mins and reduced costs by 50% | Owais

If you like fast CI builds, hate having to wait for an eternity for CI to complete a build after you open a PR, and love reducing infra costs, read on.

#DevOps#Ruby#Ruby on Rails
Added: 6 Apr 2024
Table partitioning in Rails, part 1 - Postgres Stories - Blog - Visuality

In this part, I want to shortly explain, what partitioning actually is and how you can implement this mechanism for newly created table as partitioned table in Rails application. In the second part, I'll demonstrate an approach to migrate an existing table. So, let’s dive into the topic.

#Backend#database#Gem#Ruby on Rails
Added: 3 Apr 2024
🍌The Banana Rule 🍌

A whimsical (but useful!) code style guideline

#Consulting
Added: 1 Apr 2024
Pick a standard and move on - Remi Mercier - Ruby on Rails Developer

Why would you spend your cognitive capacity on useless choices?

#Consulting
Added: 27 Mar 2024
The Complete Guide to Working With Cookies in Rails

This post covers almost everything you need to know about HTTP cookies in the context of Rails. We'll explore what a cookie is, why we need it, how to set & get a cookie, how to restrict cookies to a particular domain/path, prevent JavaScript access, how to sign & encrypt cookies, and much more.

#Backend#Ruby on Rails
Added: 27 Mar 2024
Start Using Docker Today - Hands On Examples for Developers

In this video, CJ shows hands on examples of when and where you can start using docker in your apps. He shows usage of the docker CLI, Docker Desktop, docker...

#Consulting#DevOps
Added: 26 Mar 2024
Why you need fewer developers than you think you do

It's a myth that more developers will speed up delivery. You can achieve more with less with simpler processes, simpler communication and fewer cross-team dependencies – which is why smaller teams …

#Consulting
Added: 25 Mar 2024
How to enable reusability for `ActiveRecord::Base::normalizes` - Tobias L. Maier

This article reviews the new normalizes feature in Ruby on Rails 7.1 and shows how to increase reusability by creating normalizer modules.

#Backend#Ruby on Rails
Added: 25 Mar 2024
Rollup vs Esbuild for Rails
 | saaslit

Rollup and Esbuild can both handle JavaScript files in a Rails app. I made some little experiments, both locally and in-production.

#Frontend#Javascript#Ruby on Rails
Added: 25 Mar 2024
Building a sortable table with Turbo 8’s page refreshes

Using Ruby on Rails and Turbo 8 to create a sortable table that maintains scroll position and page content as it sorts

#Frontend#HOTWire#Ruby on Rails
Added: 24 Mar 2024
Why legacy code rewrites are the hardest job in software

Legacy codebases are often like tangled mazes, with convoluted logic, outdated practices, and patches upon patches. Here's what you need to know about rewriting vs. refactoring a legacy codebase.

#Consulting
Added: 22 Mar 2024
First Previous Next Last