Articles that I have been reading

Week 2023-23

7 Key Best Practices for Rails Internationalization

Get to know seven key best practices for Rails internationalization to organize your translation workflow better.

Backend Frontend Ruby on Rails
Added: 07 Jun 2023
Standardize Not Caring About Standards

Is there anything more more long in the tooth than people arguing about standards? Yes - it’s people writing about...

Consulting
Added: 07 Jun 2023
5 tips for new Rails developers

5 tips for new Rails developers to be more productive and confident.

Ruby on Rails
Added: 07 Jun 2023
Are you absolutely sure your `has_one` association really has one association?

Learn about an unexpected limitation with this API and how to combat it universally.

Backend Ruby on Rails
Added: 05 Jun 2023

Week 2023-22

How To Criticize Coworkers

I originally wrote this as a doc, and did a talk w/ slides in Fall 2020 at Convoy. This is...

Soft Skills
Added: 03 Jun 2023
How Notion builds product

Chief Product and Technology Officer Michael Manapat on Notion’s evolving internal processes, product reviews, planning cadences, and increasing shift to...

Consulting
Added: 02 Jun 2023
How I manage my git history | Binary Solo

I'm generally a rather pedantic person and this is supercharged when it comes to managing the git history on my...

Tools
Added: 02 Jun 2023
Rails 7.1 AR adds normalizes API for attribute values

Rails 7.1 adds ActiveRecord::Base::normalizes API to normalize attribute values to a common format before saving them to the database.

Backend Ruby on Rails
Added: 02 Jun 2023
The Gateway Pattern

Use gateway classes to organize external API integrations and establish a clearer separation of concerns.

Backend Ruby on Rails
Added: 02 Jun 2023
Advanced Form Control Styling With Selectmenu And Anchoring API — Smashing Magazine

Thanks to the Open UI working community group, there’s a new element on the horizon, , that will make styling...

CSS Frontend
Added: 01 Jun 2023
Sophisticated, Simple, and Affordable Background Workers

How to design a queueing system to manage complex background jobs

Backend Ruby on Rails
Added: 31 May 2023
Introduction to Rails Engines - FastRuby.io | Rails Upgrade Service

An intro to Rails Engines are an architectural pattern that can be used to modularize or pack a Rails application....

Ruby on Rails
Added: 30 May 2023

If you want to add many attachments to a record using just a file field, but you don’t want to...

Backend Frontend Ruby on Rails
Added: 30 May 2023
Infer name with link_to - Rails Tricks Issue 8

Hi, this week I want to tell you about an improvement coming in Rails 7.1. When you are using the...

Frontend Ruby on Rails
Added: 30 May 2023
A comprehensive guide to the anonymous functions

This article is a deep dive into blocks, procs, and lambdas that will help you to understand how these functions...

Ruby
Added: 30 May 2023
How-To Add Recommendations to a Rails App with pgvector and OpenAI

Creating recommendations with pgvector, ruby-openai, and the neighbor gem.

Backend Ruby on Rails
Added: 30 May 2023
Manage Your Ruby Logs Like a Pro | AppSignal Blog

Discover the ins and outs of logging in Ruby, including how to customize your logs and use logging libraries like...

Ruby Ruby on Rails Tools
Added: 30 May 2023
Why an Engineering Manager Should Not Review Code

When discussing team organization, I am often asked: “Why don’t you have the tech lead manage the team?” My response...

Consulting Soft Skills
Added: 30 May 2023
Avoid Putting Logic in Map Blocks

The contents of a map block should probably be an instance method on each item.

Backend Ruby
Added: 29 May 2023

Taking a look at how to use a Common Table Expression in Active Record queries in Rails 7.1+

Backend Ruby on Rails
Added: 29 May 2023

Week 2023-21

Ruby on Rails' Most Popular Design Patterns | Scout APM Blog

Improve Rails code by using these design patterns: Builder, Decorator, Form, Interactor, Observer, Policy, Presenter, Query, Service, Value

Backend Design Ruby on Rails
Added: 28 May 2023

This post explores how flog, a tool that analyzes the complexity of your code, can identify areas to refactor.

Backend Ruby on Rails
Added: 26 May 2023

When saving computed values in the database in your rails app, you must be aware that is possible to find...

Backend Ruby on Rails
Added: 26 May 2023
A new way to measure developer productivity – from the creators of DORA and SPACE

An exclusive interview with the four researchers behind a new developer productivity framework: The three dimensions of DevEx

Consulting
Added: 26 May 2023
🤺 7 Useful VS Code extension for junior web developers

In my early days of coding I used to get quickly frustrated when my code didn't run. It felt like...

Tools
Added: 26 May 2023
Simple Rails design patterns with significant impact

If you don’t have time for introducing more significant changes, try implementing smaller yet powerful design patterns.

Ruby Ruby on Rails
Added: 26 May 2023
Future of CSS: Popover API

In this post we're going to be looking at not one but two new exciting things coming to CSS, the......

CSS
Added: 25 May 2023
Solving N+1 Postgres queries for Ruby on Rails apps

Chris has some tips for working with Ruby on Rails and ActiveRecord and using better SQL to improve performance and...

Backend Ruby on Rails
Added: 25 May 2023
The OKR Cycle

What does a complete cycle of planning and delivering on OKRs look like. Here's an example.

Consulting
Added: 24 May 2023

Week 2023-20

How to avoid burnout in remote engineers

Working remotely may not seem like the sort of environment where burnout thrives, but it is. Learn about ways to...

Consulting Soft Skills
Added: 19 May 2023
3 Proven SQL Best Practices You Need To Know In Data Analysis

Learn 3 best ways to write easy to read, easy to debug and easy to modify SQL query

Backend
Added: 18 May 2023
Sitting on the bench

There are many reasons to pick working for a bigger company in tech. The benefits, the pay, and, at least...

Added: 16 May 2023

Week 2023-19

How to avoid a dysfunctional relationship between product and growth teams

If your company has distinct product and growth teams, I’m willing to bet you’ve seen or felt something about their...

Consulting
Added: 12 May 2023
Rails 7.1 adds ActiveRecord::Base::normalizes

Rails 7 series | Rails 7.1 adds ActiveRecord::Base::normalizes.

Backend Ruby on Rails
Added: 12 May 2023
Changing the Parent Resource Parameter Key in Rails

tweaking the parent resource parameter key

Backend Ruby on Rails
Added: 12 May 2023
Reduce load times of Rails applications using CloudFront CDN

Ruby on Rails and ReactJS consulting company. We also build mobile applications using React Native

DevOps Ruby on Rails
Added: 12 May 2023

A concise guide to creating custom rails generators and avoiding the speed bumps.

DevOps Ruby on Rails Tools
Added: 12 May 2023
Ruby Retry Made Better

Ever need a simple way to retry a block of code in ruby? Maybe you need a maximum number of...

Backend Ruby on Rails
Added: 12 May 2023
Active Record where tricks - Rails Tricks Issue 5

Hey, this week, I am bringing you Active Record tricks to find records with missing associations or with associated records...

Ruby on Rails
Added: 12 May 2023
Scoped CSS is Back

Several years ago, I made a plea to save scoped CSS. One of the top features on my CSS wishlist...

Frontend
Added: 12 May 2023

Imagine that you need to put the number of likes for each post in a list, but avoiding n+1 queries....

Backend Ruby on Rails
Added: 12 May 2023
Leading as the most experienced engineer in the room

Your domain expertise is essential to your job, but it just might be one of the things getting in the...

Consulting Soft Skills Staff Engineer
Added: 11 May 2023
How great managers create stability during turbulent times

​​Great managers can create stability for their teams, even when things within the larger organization feel up in the air....

Consulting Soft Skills
Added: 11 May 2023
Running Ruby 3.2's YJIT in Production at Discourse

At Discourse, we have been eager to adopt YJIT ever since Shopify’s Ruby & Rails Infrastructure team declared it production-ready....

Backend DevOps Ruby Ruby on Rails
Added: 11 May 2023
Modern HTML email (tables no longer required)

Coding email like it's 2023

Frontend
Added: 10 May 2023

Week 2023-18

Rails Low-Level Caching Tips

Ruby On Rails provides numerous ways to cache data, particularly built-in page, action, and fragment caching, but these are unlikely...

Backend DevOps Ruby on Rails
Added: 04 May 2023
Transitioning from Developer to Tech Lead: Tips and Challenges

There I was, basking in the afterglow of successfully completing yet another project as a developer,...

Soft Skills
Added: 04 May 2023
The simple trick to transition from 0 to auto with CSS

Animating or transitioning to and from height auto is, well, not really possible (though it is being worked on!), but...

CSS Frontend
Added: 02 May 2023
Transitioning to height auto (two ways)

Yes, there is now a way to transition an element to height auto with CSS alone.

CSS Frontend
Added: 02 May 2023
Welcome to Rails Cheat Sheet

A helpful list of resources for people who are just getting started out with Rails.

Ruby on Rails
Added: 01 May 2023
SQL performance tuning

Handling data is a big part of every application, and doing it in the wrong way can be costly. In...

Backend
Added: 01 May 2023
This week in #dev (Apr 21, 2023)

This week, we discussed splitting arrays, handling deprecation warnings, and querying missing records.

Backend Ruby on Rails
Added: 01 May 2023
Super Useful CSS Resources 🌈

The ultimate list of 70+ web-based CSS tools that every frontend developer should have bookmarked!

CSS Frontend
Added: 01 May 2023
Episode 399 - Active Storage Validators | Drifting Ruby

Validation of files that are uploaded can provide a better user experience as it sets the expectations of what kinds...

Backend Ruby on Rails
Added: 01 May 2023

Week 2023-17

Few static analysis tricks to bulletproof your application

Hi, we're Arkency and it's our blog with meaty content.

DevOps Ruby on Rails
Added: 30 Apr 2023
Hacking Rails Implicit Rendering for View Components & Fun

Build interesting Rails plugin renderers that tap into ActionController::ImplicitRender#method_for_action like implicit renders, bulk resources, and more.

Backend DevOps Ruby on Rails
Added: 28 Apr 2023
Running Rails Development with a Fake Domain and SSL

This is a quick guide on a workaround to get your rails development running in SSL and under your production...

DevOps Ruby on Rails
Added: 27 Apr 2023
Containerize a Rails 7 App and Run it on Vultr with Cloud 66

We show you how to containerize a Rails 7 application and how to deploy and manage it on Vultr with...

DevOps Ruby on Rails
Added: 27 Apr 2023
Why duplication is more acceptable in tests - Code with Jason

It’s often taught in programming that duplication is to be avoided. But for some reason it’s often stated that duplication...

Ruby on Rails Testing
Added: 27 Apr 2023
MRSK: hot deployment tool to watch—or a total game changer?—Martian Chronicles, Evil Martians’ team blog

The SRE pros at Evil Martians attempt an objective analysis of the promises, applications, and potential of MRSK, plus things...

DevOps Ruby on Rails
Added: 27 Apr 2023
How to add custom methods to Rails console

You can add custom methods automatically available in the Rails console.

DevOps Ruby on Rails
Added: 26 Apr 2023
Advanced Active Record

Optimizing Performance and Robustness with Locking, UUIDs, Fulltext Search, Database Views, and Geospatial Data

Backend Ruby on Rails
Added: 25 Apr 2023
Working with PDFs in Ruby

Working with invoices, contracts, or just reading your favorite mystery thriller—whatever the case, PDF files are everywhere. Learn how to...

Packages Ruby Ruby on Rails
Added: 24 Apr 2023
How Postgres Triggers Can Simplify Your Backend Development

Blog about Software Engineering

Backend
Added: 24 Apr 2023

Week 2023-16

Don’t wait, let’s use the browser Contact Picker API now—Martian Chronicles, Evil Martians’ team blog

We’ll explain and demo the browser Contact Picker API. Contact Picker features have been ubiquitous in native mobile apps for...

Frontend Javascript
Added: 23 Apr 2023
Node.js with Docker | RubyMine

You can find some examples at Quick Tour of WebStorm and Docker.

DevOps Tools
Added: 22 Apr 2023
Top 8 Tools for Ruby on Rails Code Optimization and Cleanup

Keeping your code clean and organized while developing a large Rails application can be quite a challenge, even for an...

Consulting Ruby on Rails
Added: 22 Apr 2023
A hybrid development Docker Compose setup for Rails

Lots of developers choose between dockerizing their development setup or leaving it as is. There is also a viable hybrid...

Design DevOps Ruby on Rails
Added: 22 Apr 2023
identity-idp/backend.md at main · 18F/identity-idp

Login.gov Core App: Identity Provider (IdP). Contribute to 18F/identity-idp development by creating an account on GitHub.

Backend Consulting Design Ruby on Rails
Added: 22 Apr 2023
Rails development environment with Docker

Step-by-step instructions on setting up the ideal Ruby on Rails developer environment using Docker, optimized for new devs onboarding onto...

Ruby on Rails
Added: 21 Apr 2023
How to Access Hash Values with Methods Using OrderedOptions

Have you ever wanted to create a hash where you could access the values like methods on an object? The...

Backend Ruby on Rails
Added: 20 Apr 2023
The In-depth Guide to Caching ActiveRecord SQL Queries in Rails

Caching might seem a perfect solution to speed up slow database queries. However, caching in Rails apps can be easily...

Backend Ruby on Rails
Added: 20 Apr 2023
GitHub - exoego/rspec-openapi: Generate OpenAPI schema from RSpec request specs

Generate OpenAPI schema from RSpec request specs. Contribute to exoego/rspec-openapi development by creating an account on GitHub.

Backend Gem Ruby on Rails
Added: 20 Apr 2023
Tools to help you detect n+1 queries

This is a little reference of tools to help you detect n+1 queries on a rails app. Bullet Prosopite n...

Backend Ruby on Rails
Added: 20 Apr 2023
Elegant Memoization with Ruby’s .tap Method

There are a few different ways to memoize complicated chunks of code in Ruby. Here's why .tap is my personal...

Backend Ruby
Added: 18 Apr 2023
una.im | Using color-mix() to create opacity variants

Build an alpha color system without splitting out channels using this one neat trick.

CSS Frontend
Added: 17 Apr 2023

Week 2023-15

Stripe Connect onboarding with Ruby on Rails

Stripe Connect provides a suite of tools and APIs that allow you to create, manage, and scale your...

Backend Frontend Ruby on Rails
Added: 16 Apr 2023
Implicit Layout rendering in Rails

Learn how to use Rails' Action View Layouts by implicitly choosing them based on your controller's inheritance chain.

Frontend Ruby on Rails
Added: 16 Apr 2023
Efficient algorithm to check dates overlap

Do you need an efficient algorithm that checks a date range overlapping with some denoted set of date ranges? This...

Backend Ruby on Rails
Added: 16 Apr 2023
How I fix flaky tests - Code with Jason

What a flaky test is and why they’re hard to fix A flaky test is a test that passes sometimes...

Ruby on Rails Testing
Added: 15 Apr 2023
How to wrap Rails mailer previews in a database transaction

Use monkey patching to revert database changes in Rails mailer previews.

Backend Ruby on Rails
Added: 14 Apr 2023
Dealing with common and uncommon problems with parsing CSV with Ruby

Effectively parse CSV with Ruby

Ruby
Added: 14 Apr 2023
Humane Rails Forms

Create forms that are easier for people to use

Backend Frontend Ruby on Rails
Added: 13 Apr 2023
How leaders can better prioritize personal to-dos

Stepping into a leadership role invites a whole host of new demands. So, how do you aptly prioritize them?

Soft Skills Staff Engineer
Added: 13 Apr 2023

Imagine that you need to query for the records created in the “week before” of a given date. How would...

Backend Ruby on Rails
Added: 13 Apr 2023

Do you want to build powerful admin interfaces with little code, but you are not sure if you want to...

Backend Frontend HOTWire Ruby on Rails
Added: 13 Apr 2023
Audit Logging in Ruby and Rails | AppSignal Blog

Let's explore some options to implement audit logs, including PaperTrail, Audited, AuditLog, AppSignal, and a custom implementation.

Backend Ruby on Rails
Added: 13 Apr 2023
From Rails Controller to Business Action

Level up your Rails controllers by extracting business logic into reusable, testable, and more organized code units. Learn how in...

Backend Ruby on Rails
Added: 12 Apr 2023
RANK() vs DENSE_RANK() vs ROW_NUMBER() in SQL

Understanding the difference between these window functions in SQL

Backend
Added: 10 Apr 2023

Week 2023-14

How to use React just on one page in a Rails app

Is it possible to do this without setting up a whole separate React app externally and making your Rails app...

Frontend Javascript Ruby on Rails
Added: 09 Apr 2023
Ruby Bytes, or generating standalone generators—Martian Chronicles, Evil Martians’ team blog

Introducing Ruby Bytes, a toolkit to build, install and deploy Ruby and Rails application templates.

Ruby on Rails
Added: 08 Apr 2023
Feature flags in Rails: How to roll out and manage your features like a pro

Feature flagging is a widely adopted technique used in software development that enables developers...

Backend Ruby on Rails
Added: 08 Apr 2023
How to Decommission Your Ruby on Rails Application

Did your organization decide to sunset your Rails application? Our team has developed a comprehensive approach to safely decommission your...

DevOps Ruby on Rails
Added: 08 Apr 2023
Your company culture is a meaningless platitude – Dan Shapiro

We’re a team culture and we believe in individual empowerment.

Added: 08 Apr 2023
How does database sharding work?

Learn what sharding is, how sharding works, and some common sharding frameworks and tools.

Backend DevOps
Added: 07 Apr 2023
Building GitHub with Ruby and Rails | The GitHub Blog

Since the beginning, GitHub.com has been a Ruby on Rails monolith. Today, the application is nearly two million lines of...

DevOps Ruby Ruby on Rails
Added: 07 Apr 2023
This week in #dev (Mar 24, 2023)

It’s all about databases in this edition!

Ruby Ruby on Rails
Added: 07 Apr 2023

I develop a lot of webapps locally, often at the same time. For Ruby-only applications, puma-dev is by far the...

DevOps Ruby
Added: 07 Apr 2023
Dark Patterns in UX Design — Which Ones Are the Most Deceptive?

Learn about dark patterns and ways of spotting them, no matter the type of the pattern apply. We will shed...

Consulting Design
Added: 06 Apr 2023
Rails Tricks Issue 1

Hi, this is Greg, bringing you the first edition of the Rails Tricks newsletter. Thank you for subscribing! I hope...

Frontend Ruby on Rails
Added: 06 Apr 2023
From Markdown to ActionText | Stanko K.R.

I started this iteration of my blog because I grew dissatisfied with Medium. Like anyone migrating from any one platform...

Backend Frontend Ruby on Rails
Added: 06 Apr 2023
bliki: Slack

a bliki entry for Slack

Consulting
Added: 06 Apr 2023
Why You Should Speak at Conferences - The Lean Software Boutique

Speaking at conferences can be a daunting task, and I am not here to deny that. But beyond that daunting...

Soft Skills
Added: 06 Apr 2023
The Ruby on Rails Learning Path | GoRails - GoRails

Learn Ruby on Rails with the bootcamp-style Learning Path from GoRails

Ruby Ruby on Rails
Added: 06 Apr 2023
How to Make Rails Response Faster

As your document or response size increases , it can result in much slower response time, lets look into some...

Backend DevOps Ruby on Rails
Added: 05 Apr 2023
Let's expect change and reload!

It's often that we create a service that is supposed to change an attribute on an ActiveRecord...

Ruby on Rails Testing
Added: 04 Apr 2023
Installation - Refine Laravel Docs

Refine is a paid package. To purchase, head to hammerstone.dev.

Backend Frontend Packages Ruby on Rails
Added: 04 Apr 2023
A Single file Rails Application

Did you know that you can create a single-file Rails application?

Backend Ruby on Rails
Added: 04 Apr 2023
Polymorphic Associations with Ruby on Rails | The Miners

Although not the first option for many, polymorphic associations are perfect for connecting the same type of model to multiple...

Backend Ruby on Rails
Added: 03 Apr 2023

Week 2023-13

Hosting a Jekyll Static Website on AWS S3 with CloudFront

While setting up this blog with Jekyll, I went through quite a process to get everything configured so that I...

DevOps Ruby
Added: 01 Apr 2023
Low Cost

Introduction On a cold and dark evening in December 2022, a good friend of mine calls me...

DevOps
Added: 31 Mar 2023
What Being a Staff Developer Means at Shopify

A staff developer is an individual contributor who can have the same scope of impact and seniority as an engineering...

Staff Engineer
Added: 30 Mar 2023
The Two Different Approaches We Take to Upgrade an Application - FastRuby.io | Rails Upgrade Service

Since 2017 we have been focusing on upgrading Ruby on Rails applications. It’s been quite a fulfilling learning process as...

Consulting
Added: 30 Mar 2023
Setting your team up for success while on parental leave

Ahead of your parental leave, it's important to properly prepare your team and set them up for success.

Consulting Soft Skills
Added: 30 Mar 2023

Have you ever needed to get the most recent N posts for each user in rails, but didn’t know how...

Backend Ruby on Rails
Added: 30 Mar 2023
Search and Select Multiple with Rails and Hotwire

Selecting

Backend Frontend HOTWire Ruby on Rails
Added: 30 Mar 2023
7 Pieces of Bad Career Advice Women Should Ignore

With so much advice being thrown at young women, it’s hard to know what to follow and what to ignore....

Consulting Soft Skills
Added: 30 Mar 2023
Rails 7.1 Improves Support for Custom Namespaces

Ruby on Rails and ReactJS consulting company. We also build mobile applications using React Native

Backend Ruby on Rails
Added: 29 Mar 2023
Why Remote Design Sprints Work - The Lean Software Boutique

Design Sprints lend themselves nicelyto a virtual format, and digital tools can enhance this widely-used processdeveloped by Google Ventures.

Consulting Design
Added: 29 Mar 2023
How to implement undo in your apps

The command pattern is a very popular design pattern that was introduced in the GoF design patterns...

Frontend Javascript
Added: 29 Mar 2023
You Should Write Bad Code

How to embrace absurdity and unlock more creative coding

Added: 27 Mar 2023

Week 2023-12

How to benchmark your ruby gem

With a folder, some scripts, and some tools, you can make your ruby gem/code faster. Measure, improve and repeat.

Gem Ruby Tools
Added: 26 Mar 2023
One problem that is now solved by CSS Subgrid

How to use CSS Subgrid to solve the problem around aligning content in different columns

CSS Frontend
Added: 26 Mar 2023
CSS Nesting - Chrome Developers

One of our favorite CSS preprocessor features is now built into the language: nesting style rules.

CSS Frontend
Added: 26 Mar 2023
Learn how to handle flash messages with Hotwire

Learn to manage flash messages in Rails 7 with Hotwire. We will learn how to handle flash messages in Turbo...

Frontend HOTWire Ruby on Rails
Added: 24 Mar 2023
Understanding the Attribute Assignment API in Rails

In this post, we will explore the `AttributeAssignment` module in Rails, which allows you to set an object's attributes by...

Backend Ruby on Rails
Added: 24 Mar 2023
Modeling business logic with ECS in Ruby | katafrakt's garden

Just my website. Some Elixir, some Ruby, some more exotic languages and general thoughts on tech.

Backend Ruby
Added: 23 Mar 2023
Time-Series Data With Ruby on Rails and Postgres

Counting things can be tough. It’s a metric you need to show your users, but if you’re not careful at...

Backend Ruby on Rails
Added: 23 Mar 2023
How to use Docker containers for Ruby on Rails development in Visual Studio Code

Introduction It has become common practice to use Docker and Docker compose when building...

DevOps Ruby on Rails Tools
Added: 23 Mar 2023
How to not get into trouble with Active Record

Follow good practices with Active Record to make sure that your application's performance is on a good level and the...

Backend Consulting Ruby on Rails
Added: 21 Mar 2023
Zero downtime Rails migrations with the PlanetScale Rails gem

Learn about the Ruby on Rails workflow that protects your database and application from accidental downtime and data loss.

DevOps Ruby on Rails
Added: 21 Mar 2023

GoodJob is a multithreaded, Postgres-based ActiveJob backend for Ruby on Rails.

Backend Frontend Gem Ruby on Rails
Added: 21 Mar 2023
In relentless pursuit of some parts of REST

If we want clients to create small controllers and use resources in their routes, it’s a good idea to know...

Backend Ruby on Rails
Added: 20 Mar 2023

Week 2023-11

We're Building a New Design Sprint Guide

We’ve been running design sprints for over 10 years, it’s time for us to share everything we know about them...

Consulting Design
Added: 17 Mar 2023
MRSK vs Fly.io

Comparison of MRSK and Fly.io

DevOps Ruby on Rails
Added: 17 Mar 2023
Only Product Management Frameworks You Need | Railsware Blog

Our top picks of the most practical product management frameworks for decision-making, prioritization, product metrics, and agile development

Consulting
Added: 17 Mar 2023
Working With Markdown in Ruby

This article explores how to use markdown in Ruby. Learn how to use two popular Ruby libraries—Redcarpet and Kramdown—to parse...

Backend Frontend Ruby Ruby on Rails
Added: 17 Mar 2023
Practicing engineering transparency

Being more transparent as a Staff+ engineer can help build trust and encourage best practice across entire engineering teams.

Consulting Soft Skills
Added: 16 Mar 2023
Dominant hand respecting design

I’m Kitty Giraudel, a non-binary trans frontend developer based in Berlin, focused on accessibility and inclusivity.

Design Frontend
Added: 15 Mar 2023
Why We Need More Women In Tech

Common concerns and solutions... because tech is for anyone who cares about it.

Consulting
Added: 15 Mar 2023
16 little UI design rules that make a big impact

A UI design case study to redesign an example user interface using logical rules or guidelines

Design Frontend
Added: 14 Mar 2023
A journey towards better testing practices

Testing anti-patterns I learned to stay away from over the years.

Ruby Ruby on Rails Testing
Added: 14 Mar 2023
Assign a default value to an attribute in Active Record

You’ve probably been using callbacks. Don’t.

Backend Ruby on Rails
Added: 13 Mar 2023
Mastering PostgreSQL Views and CTEs for Rails Developers: A Comprehensive Guide

Introduction Views and Common Table Expression or CTE are two important concept in...

Backend Ruby on Rails
Added: 13 Mar 2023
How to click links in Rails Mailers when writing tests

When writing an integration or system test in Rails, have you ever needed to click a link in an email?...

Ruby on Rails Testing
Added: 13 Mar 2023

Week 2023-10

Understanding the Rails Router: Why, What, and How

The router is the entry point of your Rails application. It acts as the gatekeeper for all incoming HTTP requests,...

Backend Ruby on Rails
Added: 12 Mar 2023
Avoiding UI Regressions With Jest

How can you ensure that a modification on a component won't break the responsiveness on the user...

Frontend Javascript Testing
Added: 11 Mar 2023
Stubbles - Stubbing and Doubles innit. 🧔

Confession: I’ve always struggled to understand the difference between stubbing and doubles…

Ruby Ruby on Rails Testing
Added: 10 Mar 2023
Perfect Homepage Design Explained (in 15 minutes)

Join my private training platform for web designers:https://www.paitpro.com🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳🔳Perfect Your Web Designs With Thes...

Design Frontend
Added: 10 Mar 2023
Stimulus Nested Forms | Ruby on Rails 7 Tutorial

Today we take a look at a Stimulus implementation for nested forms in Ruby on Rails 7. It's a bit...

Frontend Javascript Ruby on Rails
Added: 10 Mar 2023
Create a Direction Aware Hover Effect Using CSS :has() Selector

A practical guide on how you can build a pure-CSS direction-aware hover effect for your navigation menu bar using :has()...

CSS Frontend
Added: 10 Mar 2023
Some simple ways to make content look good - Set Studio

Something non-designers understandably struggle with is how to make things look good. One of those things is long form content...

CSS Frontend
Added: 10 Mar 2023
Relearn CSS layout

If you find yourself wrestling with CSS layout, it’s likely you’re making decisions for browsers they should be making themselves....

CSS Frontend
Added: 09 Mar 2023
The Web Needs a Native .visually-hidden

For years, developers have passed around a set of styles like a magic incantation. It's time we made it a...

CSS Frontend
Added: 09 Mar 2023
How to Find, Debug and Fix N+1 Queries in Rails

Fixing N+1 issues is often the lowest-hanging fruit in optimizing a Rails app performance. However, for non-trivial cases choosing a...

Backend Ruby on Rails
Added: 09 Mar 2023
Merging vs. Rebasing | Atlassian Git Tutorial

Compare git rebase with the related git merge command and identify all of the potential opportunities to incorporate rebasing into...

Tools
Added: 07 Mar 2023
A taxonomy for alerts and notifications

Is it an Alert, Toast, Callout, Popup, Snackbar, or Notification?

Frontend
Added: 06 Mar 2023

Week 2023-9

Configuring Rails Environments

Despite its strong opinions and powerful conventions, Rails is a highly flexible and configurable framework. If you don’t like something,...

Backend Ruby on Rails
Added: 05 Mar 2023
A Guide to PostgreSQL Views

Understanding PostgreSQL views and materialized views is essential to fully grasp one of the most popular features in Timescale that...

Backend
Added: 05 Mar 2023
Remote Synthesis | The Price Developers Pay for Loving Their Tools Too Much

Developers are passionate about their tools - sometimes to a fault. There is value in being open to change and...

Tools
Added: 04 Mar 2023
Making the Most of Your Logs in Rails | AppSignal Blog

It's easy to get going with logging with Rails, but not so easy to master it. Discover how you can...

Backend Ruby on Rails
Added: 01 Mar 2023
Stop using eager loading in your Rails application; use this instead.

It’s a popular internet recommendation to use eager loading in Ruby on Rails applications to eliminate the N+1 query problem....

Backend Ruby on Rails
Added: 28 Feb 2023

Week 2023-8

Storing Ephemeral UI State with Kredis for Rails | AppSignal Blog

Let's dive into how Kredis works and how you can use it to store short-term UI state.

Backend Ruby on Rails
Added: 26 Feb 2023
Introduction of Rails Engine with basic example.

What is RailsEngine? A Rails engine is a self-contained piece of functionality that can be...

Backend Ruby on Rails
Added: 26 Feb 2023
Questionable new ways of running a retrospective

My team’s Managing Director and advisor on the project I’m working on, Kirsten, has noticed how reluctant I am in...

Consulting
Added: 26 Feb 2023
5 super useful CSS properties that don't get enough attention

🎓 Start writing CSS with more confidence with one of my courses: https://kevinpowell.co/courses🔗 Links✅ Full list of filter effects: https://developer.mozi......

CSS Frontend
Added: 23 Feb 2023

Calling freeze on an object may not provide the immutability you expect. Here we dig into some of freeze's nuances...

Backend Ruby Ruby on Rails
Added: 21 Feb 2023
Hotwire: Asynchronously loaded tooltips

Learn how to effectively render tooltips in Rails without writing any JavaScript.

Frontend HOTWire Ruby on Rails
Added: 20 Feb 2023

Week 2023-7

How Rails Authenticity Tokens Protect Against CSRF Vulnerability

Rails protects your web application from CSRF attack by including an authenticity token in the HTML forms. This token is...

Backend Ruby on Rails
Added: 19 Feb 2023
Rails Console Magic Tricks

7 techniques to increase the developer’s experience during a Rails console session

Ruby on Rails Tools
Added: 18 Feb 2023
Bringing Card Table to the small screen

A close look at the process we used to make our version of Kanban nice and useful on mobile devices....

Consulting Frontend Ruby on Rails
Added: 18 Feb 2023
Rails ActiveRecord: create_with, where for new records

More 'things I forgot' - using create_with and where in making new records. We can make use of the resulting...

Backend Ruby on Rails
Added: 17 Feb 2023
If adding more engineers doesn’t speed up our development, what does?

The idea that hiring more developers will lead to faster time-to-market, is a common misconception.

Consulting Soft Skills
Added: 17 Feb 2023
CSS Tips For Better Web Development

CSS has been around for 25+ years, gaining tons of features and selectors to create great websites and apps. In...

Frontend
Added: 16 Feb 2023
Web Push for Web Apps on iOS and iPadOS

With iOS and iPadOS 16.4 beta 1 comes support for Web Push for Home Screen web apps, Badging API, Manifest...

Frontend
Added: 16 Feb 2023
A method's gravity

#small #methods #code #design #ruby

Added: 16 Feb 2023
Escaping/encoding URI components in ruby 3.2

Thanks to zverok_kha’s awesome writeup of Ruby changes, I noticed a new method released in ruby 3.2: CGI.escapeURIComponent This is...

Backend Ruby
Added: 16 Feb 2023
What's New in Rails 7.1 | AppSignal Blog

Let's take a look at what we can expect from the upcoming Rails 7.1 release.

Ruby on Rails
Added: 15 Feb 2023
Adding Sorbet to a Rails project

Nithin Bekal's blog about programming - Ruby, Rails, Vim, Elixir.

Backend Ruby on Rails Tools
Added: 15 Feb 2023
button elements offer attributes to change form behavior

Use formaction, formenctype, formmethod and formnovalidate to change form configuration with button attributes

Frontend
Added: 13 Feb 2023
Try not to loop through associations inside jobs

Your local data isn’t the same as in production

Backend Ruby on Rails
Added: 13 Feb 2023

Week 2023-6

Ruby Adds Support for WebAssembly: What is WebAssembly and how it benefits Ruby devs?

Photo by Joshua Fuller on Unsplash Ruby has joined the ranks of languages capable of targeting...

Backend Frontend Ruby
Added: 12 Feb 2023
ActiveRecord: finally understand transactions | Younes.codes

How to use ActiveRecord transactions, handle errors and avoid pitfalls.

Backend Ruby on Rails
Added: 11 Feb 2023
Rails Concerns: To Concern Or Not To Concern | AppSignal Blog

Should you be concerned about Rails concerns?

Backend Ruby on Rails
Added: 10 Feb 2023
Everything You Need to know about Serialization in Rails - Part III

We had previously talked about the Serialization formats and How Serialization is implemented for storing objects in the relational database...

Backend Ruby on Rails
Added: 10 Feb 2023
Top 5 Famous Ruby on Rails Features in Today's Programing 2023

Although Ruby on Rails is the oldest framework, and some claim that it is no longer in use, developers still...

Ruby on Rails
Added: 10 Feb 2023
The easiest improvement you can make to your CSS

Outlines are important for keyboard navigation, but maybe you've come up with a replacement and decide to do an outline:...

CSS Frontend
Added: 10 Feb 2023
RubyConf Mini 2022: Empathetic Pair Programming with Nonviolent Communication by Stephanie Minn

Pair programming is intimate. It’s the closest collaboration we do as software developers. When it goes well, it feels great!...

Soft Skills
Added: 10 Feb 2023
How to send slack notifications from Rails app using sidekiq

It can be helpful in a Rails application to send notifications to a Slack channel, for example, when...

Backend Ruby on Rails
Added: 10 Feb 2023
Psychological Safety — The Single Most Important Thing That Makes a High-Performing Team

What is psychological safety, and why is it so important? Tips on how to improve your team

Soft Skills
Added: 09 Feb 2023
Is software getting worse?

With all the advancements in software development, apps could be much better. Why aren't they?

Added: 09 Feb 2023
Rails initializers you don't know about - Inflections

Ruby on Rails and ReactJS consulting company. We also build mobile applications using React Native

Backend Ruby on Rails
Added: 08 Feb 2023
Three attributes for better web forms

Better UX through better HTML: inputmode, enterkeyhint, and autocomplete.

Frontend
Added: 08 Feb 2023

All the best things about VS Code that nobody ever bothered to tell you

Tools
Added: 08 Feb 2023
How to write Semantic CSS

Most people know about semantic HTML, but when it comes to CSS, things are a little more wishy-washy most of...

CSS Frontend
Added: 07 Feb 2023
How to stub Feature Flags with RSpec

Are your feature flags states leaking between your test cases? Stub them all to make your test suite more reliable....

Backend Ruby on Rails Testing
Added: 06 Feb 2023

Week 2023-5

The Decree Design Pattern

The Decree pattern helps developers write single-purpose service objects that have a predictable API contract, are composable, are easily tested,...

Ruby on Rails
Added: 04 Feb 2023
How Rails sessions work

What if your Rails app couldn’t tell who was visiting it? If you had no idea that the same person...

Ruby on Rails
Added: 03 Feb 2023
Build a Table Editor with Trix and Turbo Frames in Rails | AppSignal Blog

Let's build a table editor in a Rails application using ActionText's Trix editor, and use Turbo Frames to customize your...

HOTWire Javascript Ruby on Rails
Added: 02 Feb 2023
How to bundle assets in a Rails engine

Load, parse, compile, and serve assets efficiently in a Rails Engine.

Ruby on Rails
Added: 02 Feb 2023
Business Intelligence on Rails With Blazer

Business Intelligence transforms raw data into actionable insights that support business decisions through reports, dashboards, and charts. You can use...

Packages Ruby on Rails
Added: 02 Feb 2023
Creating an AI email parser using Ruby and OpenAI (GPT-3)

You may frequently need to extract crucial information from emails in your role as a developer. This...

Ruby
Added: 02 Feb 2023
Optimizing Images - Part 3 - FastRuby.io | Rails Upgrade Service

When we allow users to upload images, they usually upload files without any optimization for the web. It’s up to...

Ruby on Rails
Added: 02 Feb 2023
Ransacking your password reset tokens | Positive Security

We demonstrate how the popular "Ransack" library (Ruby on Rails) can be abused to exfiltrate sensitive data via character by...

Ruby on Rails
Added: 02 Feb 2023
A Guide to Rails View Helpers | AppSignal Blog

Find out how you can keep your Rails views readable using helpers.

Frontend Ruby on Rails
Added: 01 Feb 2023
Seven Shipping Principles

Core fundamentals that inform how we go about building — and shipping — great software at a sustainable pace.

Consulting
Added: 01 Feb 2023
Intro to Building a Ruby on Rails Back End

Follow along with my example repo, which has a solution branch. So, you wanna be a Ruby on Rails...

Ruby on Rails
Added: 01 Feb 2023
Building Custom RSpec Matchers with Regular Objects

RSpec custom matchers can be written using plain old objects.

Ruby on Rails
Added: 01 Feb 2023
Unlock the Potential of VS Code for Ruby Programming

A guide to a free Ruby development environment

Ruby Ruby on Rails
Added: 01 Feb 2023
How Coda builds product

Lane Shackleton, CPO at Coda, shares his team’s actual templates, processes, and many lessons learned

Consulting
Added: 31 Jan 2023
Companies Using RFCs or Design Docs and Examples of These

What companies follow an RFC-like process, and what are templates and examples to get inspiration from?

Consulting
Added: 31 Jan 2023

Week 2023-4

Deploying Ruby on Rails with AnyCable using Docker & ECS

This is a guide for setting up AnyCable locally using Docker Compose, and deploying it on Amazon Web Services (AWS)...

DevOps Ruby on Rails
Added: 29 Jan 2023
Benchmarking Ruby 3.2 with YJIT

Ruby 3.2.0 was released today! This is a perfect moment to check it out and see how YJIT behaves. I...

Ruby
Added: 27 Jan 2023
Database Views & Rails Active Record: defining new Model classes out of views

Database Views & Rails Active Record: defining new Model classes out of views Learn...

Ruby on Rails
Added: 25 Jan 2023
5 most annoying website features I face as a blind person every single day - Scope for business

Holly, a blind screenreader user, explains the main accessibility barriers she faces every day. Bad heading structure, alt-text, links, forms...

Design
Added: 24 Jan 2023
How to stay motivated as a developer, build a habit system and stop procrastinating

Do you ever find it challenging to work on your project, side hustle, or even your hobby? Have you ever...

Soft Skills
Added: 24 Jan 2023
Only use locals in view partials

It helps keep your state manageable

Ruby on Rails
Added: 23 Jan 2023

Week 2023-3

How to Use Lambdas in Ruby | Scout APM Blog

Lambdas are a powerful feature of the Ruby language. Learn all about Lambdas and how best to leverage them in...

Ruby
Added: 22 Jan 2023
Top Front-End Tools Of 2022 — Smashing Magazine

Useful front-end tools for CSS and JavaScript developers that were most popular last year and will help you speed up...

CSS Design
Added: 21 Jan 2023
Rails on Docker

Rails 7.1 will include a Dockerfile to help ease production deployments

DevOps Ruby on Rails
Added: 21 Jan 2023
Refactoring instance variables to local variables in Rails controllers

An example of refactoring a controller to use local variable and shorthand hash syntax

Ruby
Added: 20 Jan 2023
Gemfile of dreams: the libraries we use to build Rails apps—Martian Chronicles, Evil Martians’ team blog

We unveil the toolbox of the Martian Rails engineer; we begin constructing a Gemfile from the universe of Martian gems...

Ruby on Rails
Added: 19 Jan 2023
JSONB PostgreSQL: How To Store & Index JSON Data

In this post, we are going to show you tips and techniques on how to effectively store and index JSON...

Consulting DevOps
Added: 19 Jan 2023
Server-Side Request Forgery in Rails

What is Server-Side Request Forgery (SSRF), and why is it a concern for web security?

Consulting DevOps
Added: 19 Jan 2023
Rails 7: ActiveStorage::Streaming improves file streaming

Once we include ActiveStorage::Streaming in a controller, we get access to the #send_blob_stream method which takes care of everything, from...

Ruby on Rails
Added: 18 Jan 2023
Writing better Action Mailers: Revisiting a core Rails concept

Mailers are used in literally every Rails application, but often an after thought where we throw out the rules of...

Ruby on Rails
Added: 17 Jan 2023
How Litestream Eliminated My Database Server for $0.03/month

I've always hated maintaining database servers. Litestream offers a simple alternative without sacrificing reliability or security.

DevOps
Added: 17 Jan 2023
What is ActiveRecord becomes from Rails

Have you heard about the ActiveRecord becomes method from Rails? Maybe it’ll come handy one day.

Ruby on Rails
Added: 16 Jan 2023

Week 2023-2

📖 Understanding the Instrumentation API in Rails

The instrumentation API in ActiveSupport serves a dual purpose. You can use it to implement the publish-subscribe pattern, as well...

Ruby on Rails
Added: 14 Jan 2023
Rails Hotwire: mastering techniques for streamlining inline editing in your user interface

Originally posted on ahmednadar.com Recently, the inline editing capabilities demand has...

HOTWire Ruby on Rails
Added: 12 Jan 2023
Ruby on Rails Interview Questions

Check out our downloadable Ruby on Rails Interview Questions Template, and learn how can you get the most honest responses...

Ruby on Rails Soft Skills
Added: 11 Jan 2023
Create a Business Language for a Rails Application | AppSignal Blog

Build and parse a programming language to extend your Rails application's functionality.

Ruby on Rails
Added: 11 Jan 2023
Don't just do it

Understanding the need behind a change is important to build better software. Here’s why.

Consulting
Added: 11 Jan 2023
Integration Testing Ruby on Rails with Minitest and Capybara - Semaphore

Capybara is an acceptance test framework for web applications. Learn how to use it with Minitest for integration testing of...

Ruby on Rails
Added: 09 Jan 2023
Versioning a Rails API

Rails developers can add versioning to their APIs with relatively little effort. This article explains why you need to add...

Ruby on Rails
Added: 09 Jan 2023
Rails development, SSL, service workers and self-signed certs

There are several motivations for running your local web application over SSL; making use of service workers being a prime...

Ruby on Rails
Added: 09 Jan 2023
Cheaply running ruby on rails apps (for side projects)

With Heroku's free tier gone, this is my work-in-progress configuration for a new ruby on rails apps...

DevOps Ruby on Rails
Added: 09 Jan 2023

Week 2023-1

Rails 7 adds disable_joins for associations

Rails 7 series | Ruby 7.0 adds disable_joins for associations

Ruby on Rails
Added: 08 Jan 2023
It is not what you expect, but it is what you want: how Data#initialize is designed

A description of a curios core class design decision made for happier coding

Ruby
Added: 06 Jan 2023
Metaprogramming in Ruby: Beginner Level - The Gnar Company

Metaprogramming in Ruby: Beginner Level This post is the first in a series focused on the application of Ruby metaprogramming....

Ruby
Added: 03 Jan 2023
The Rails Config File

You must have used a ~/.bashrc or ~/.zshrc file to configure your environment. Did you know Ruby on Rails has...

Ruby on Rails
Added: 03 Jan 2023

Week 2022-52

A medior dev's take on Test Driven Development

How, Why and When I TDD

Ruby on Rails
Added: 31 Dec 2022
Creating Ruby objects with keyword arguments and merge

Reading through Sandi Metz’s book Practical Object-Oritented Design in Ruby (POODR), I found myself yet again hit with several epiphanies…...

Ruby
Added: 31 Dec 2022
Materialized View: SQL Queries on Steroids

I have been working with a client with close to 600k images on their home page. The photos are tagged...

Added: 31 Dec 2022
Document.elementFromPoint

Reacting to events with JavaScript is the foundation of a dynamic experiences on the web. Whether it's a click event...

Javascript
Added: 31 Dec 2022
Time management for makers

As makers, software engineers should adopt these 7 essential habits.

Consulting Soft Skills
Added: 31 Dec 2022
Why Web Design Still Matters in 2023 | Webdesigner Depot

As we move into 2023, there are an increasing number of ways companies can engage with their customers. And as...

Added: 29 Dec 2022
Run different ActiveRecord validations based on context

Sometimes want to skip certain validations on your database models. Maybe you have a multi-step wizard or want admins to...

Ruby on Rails
Added: 28 Dec 2022
How to use FilePond with Rails' Active Storage

Learn how to integrate the FilePond upload library with Ruby on Rails' Active Storage framework.

Ruby on Rails
Added: 26 Dec 2022

Week 2022-51

Rails 7.1 supports password challenge via has_secure_password

From Rails 7.1 has_secure_password now includes a password_challenge accessor to validate it against the currently persisted password.

Ruby on Rails
Added: 25 Dec 2022
Creating a career progression framework for engineers

How to build a clear and transparent process for supporting engineering career progression.

Consulting
Added: 22 Dec 2022
A Cheatsheet for User Interview and Follow Ups Questions by Stéphanie Walter - UX Researcher & Designer.

A cheat sheet to help you write interview and follow ups questions for user research and usability test protocols (also...

Consulting
Added: 22 Dec 2022
Testing Ruby Gems with GitHub Actions – Prioritized.net

Let's walk through how you can use GitHub Actions to test a Ruby gem, or any other Library, against an...

Packages Ruby
Added: 22 Dec 2022
Quick Start | Lamby - Simple Rails & AWS Lambda Integration using Rack

Deploy a new Rails APP to Lambda in 5 minutes!

DevOps
Added: 20 Dec 2022

Week 2022-50

On technical debt

If you ask any developer what is technical debt they will probably tell you something along the lines of: Cutting...

Consulting
Added: 18 Dec 2022
HTML5 Canvas on Rails? Part 1

Why this approach?

Javascript Ruby on Rails
Added: 18 Dec 2022
Directing Turbo Native apps from the server

This post was extracted and adapted from The Rails and Hotwire Codex. It also assumes some...

Ruby on Rails
Added: 18 Dec 2022
Making Hotwire and Devise play nicely

I wanted to mix Hotwire (both Turbo and Stimulus) and View Components together but use it with my normal go-to...

Ruby on Rails
Added: 18 Dec 2022
How to use Polymorphic Associations in Ruby on Rails ?

In Ruby on Rails, a polymorphic association allows a model to belong to more than one other model on a...

Ruby on Rails
Added: 17 Dec 2022
Rails Generator Cheat Sheet

In this article is for newer developers looking to learn strategy and commands on Rails. When I...

Ruby on Rails
Added: 17 Dec 2022
Inside the mind of a frontend developer: Article layout - Ahmad Shadeed

An exploration of how a frontend developer thinks while building an article layout.

Added: 16 Dec 2022
Agile Projects Have Become Waterfall Projects With Sprints

All the agility has been sucked out of agile projects

Consulting
Added: 16 Dec 2022
Advanced Forms (No JavaScript!) - The Lean Software Boutique

When working with complex forms, it's really easy to immediately start adding JavaScript to implement non-common behaviors. But there are...

Ruby on Rails
Added: 16 Dec 2022
Modeling your public static pages as resources in Ruby on Rails

So we checked 2 major ways already of creating public (more or less) static pages: 1. brute force drop your...

Ruby on Rails
Added: 16 Dec 2022
Read This Post 'Unless' You're Not A Ruby Developer

Disclaimer: prepare for hair-splitting and nitpicking

Ruby
Added: 16 Dec 2022
In Praise of the Current Pattern

The "current pattern" or "current context" is a technique that allows you to access some per-request data easily without having...

Ruby on Rails
Added: 16 Dec 2022
Embedding on a team as a Staff+ engineer

A four-step guide to leveling up your team from the staff plus position.

Consulting
Added: 15 Dec 2022
Encouraging autonomy within engineering teams

Autonomy is a wonderful thing. Here’s how to relinquish control and empower your engineering teams to deliver more impact.

Consulting
Added: 15 Dec 2022
Setting up a screen reader testing environment on your computer

Published on 24 Nov, 2022  |   Takes approximately 8 min to read

Added: 13 Dec 2022
Hostile Patterns in Error Messages

Premature error messages, aggressively styled fields, and unnecessarily disruptive system-status messages feel bad-mannered and increase cognitive load for users during...

Added: 13 Dec 2022
This week in #dev (Pilot)

Highlights of what happened in our #dev channel on Slack this week.

Added: 13 Dec 2022
Rails’ safety mechanisms

A comprehensive overview of Rails’ many safety features that can help you prevent painful mistakes.

Ruby on Rails
Added: 13 Dec 2022
Amazing CTO

Startups use too much technology. My advice: Use Postgres for everyting

DevOps
Added: 12 Dec 2022
Figma UI Starter Kit

New Figma resource, a lightweight UI design starter kit to save you time.

Design
Added: 12 Dec 2022

Although Hotwire does not currently provide animations out of the box, it does give us hooks to add in our...

Javascript Ruby on Rails
Added: 12 Dec 2022
HTMHell Advent Calendar 2022 - HTMHell

An article, talk, or tool that focuses on HTML every day until Christmas.

Added: 12 Dec 2022

Week 2022-49

Scrum Has Failed the Developers

But there’s a way out of the misery

Added: 10 Dec 2022
CSS Infinite Slider Flipping Through Polaroid Images | CSS-Tricks

In the last article, we made a pretty cool little slider (or "carousel" if that’s what you prefer) that rotates...

CSS
Added: 10 Dec 2022
I Automated Daily Standups for Developers

It's time for a standup! These are the words that always put me in total panic mode. I don't even......

Added: 10 Dec 2022
A Journey into Site Reliability Engineering

While Rails gained a lot of popularity among companies to develop products quickly, technical debt and scalability issues were challenges...

DevOps Ruby Ruby on Rails
Added: 09 Dec 2022
What I learned from pairing by default

I never used to pair program, and then I spent four months on a pair-by-default team. Here's what I learned....

Added: 08 Dec 2022
Detecting if the user is online with JavaScript

Sometimes you might want to enhance your application to notify users they might have lost their...

Javascript
Added: 08 Dec 2022
Your flaky tests might be time dependent

Time dependent tests are difficult to diagnose, and the symptoms don’t present themselves until it’s too late. This article will...

Ruby Ruby on Rails
Added: 07 Dec 2022
From Paperclip to Active Storage at scale

My experience of migrating from Paperclip to Active Storage on a production site.

DevOps Ruby on Rails
Added: 06 Dec 2022
SOLID Principles Explained by GPT-3 with Analogies and Ruby Code

Ever struggled to grasp what the Liskov Substitution Principle really mean?

Added: 06 Dec 2022
Percent notation in Ruby - DeepSource

Ruby provides a number of methods which make it very simple to read and write strings, arrays, shell commands etc....

Ruby
Added: 05 Dec 2022
Find out what callbacks are defined on an Active Record model in the console

Sometimes it's hard to know what is defined where

Ruby on Rails
Added: 05 Dec 2022

Week 2022-48

EP35: What is Kubernetes

This week’s system design refresher: RPC vs. gRPC (Youtube video) Monolithic vs. Microservice Architecture What is k8s ChatGPT RPC vs....

Consulting DevOps
Added: 03 Dec 2022
Ruby multithreaded crawler

A Ruby multithreaded crawler is a type of web crawler that is built using the Ruby programming...

Ruby
Added: 03 Dec 2022
Using Server Sent Events to Simplify Real-time Streaming at Scale

We walk through how we implemented an SSE server that's scalable and load-balanced to simplify and improve a real-time data...

DevOps
Added: 01 Dec 2022
Vanilla Rails authentication with Authentication Zero

Learn how to build a robust authentication quickly in Rails without using a library like Devise.

Ruby on Rails
Added: 30 Nov 2022
How to implement Query Object pattern in Ruby on Rails?

In simple terms, Query Object allows you to encapsulate complex database queries. Why do we need it...

Ruby Ruby on Rails
Added: 29 Nov 2022
6 Tips to Overcome Scaling Challenges Like Design Decisions, Tech Debt, and Developer Satisfaction | alphalist

Scaling isn’t easy. You will need to set up processes on how things are going to work now that you...

Added: 29 Nov 2022
Why (and How) I Write Code With Pencil and Paper | CSS-Tricks

If the thought of handwriting code seems silly, it might surprise you to know that it's inevitable. If you're unsure,...

Added: 29 Nov 2022
Questions for our first 1:1 | Lara HoganTwitter_Logo_Blue

In the last few years, I’ve had the pleasure of kicking off lots of new reporting relationships with both engineers...

Added: 29 Nov 2022
Ten reasons engineers choose to stay with an organization

Retaining great developers can be hard. Here are the ten company habits that make employees choose to stay, even when...

Added: 29 Nov 2022
Newer Things to Know About Good Ol’ HTML Lists | CSS-Tricks

HTML lists are boring. They don’t do much, so we don’t really think about them despite how widely used they...

Added: 29 Nov 2022
To infinity and beyond: enabling the future of GitHub's REST API with API versioning | The GitHub Blog

We’re introducing calendar-based versioning for our REST API, so we can keep evolving our API, whilst still giving integrators a...

Added: 29 Nov 2022
Testing Thor Ruby Required Options

There are lots of tutorials for building a CLI with Thor from scratch, but there aren't a lot of them...

Ruby
Added: 29 Nov 2022
The Seven Levels of Busy

Level 1: NOT BUSY My schedule is wide open. I can choose infinite paths. Zero commitments. The weekend. I sleep...

Added: 28 Nov 2022
Dialogs, modality and popovers seem similar. How are they different?

A deep dive into the semantics, behaviours and characteristics of some of the most common user interface elements of websites...

Added: 28 Nov 2022
Elements can be visible even though their parent has set

Nested HTML elements with different `visibility` properties (`visible` / `hidden`) can be visible even though their parent is hidden.

CSS
Added: 28 Nov 2022

Week 2022-47

Ruby memoization - Code with Jason

What is memoization? Memoization is a performance optimization technique. The idea with memoization is: “When a method invokes an expensive...

Ruby
Added: 24 Nov 2022
You can add biometric authentication to your webpage. Here's how.

Prompting for a username and password is so 2005. Today, you can just prompt for a fingerprint.

Javascript
Added: 24 Nov 2022
Best Practices for Estimating Work - Story Points

This path gives an overview of how the Shortcut team estimates work and how the Shortcut tool effectively supports that...

Consulting
Added: 23 Nov 2022
Day 38: vh, svh, lvh, and dvh

It’s time to get me up to speed with modern CSS. There’s so much new in CSS that I know...

CSS
Added: 22 Nov 2022
Learning good habits by watching a staff software consultant

What is good software consulting? Watching a staff level engineer is a great way to learn good habits.

Consulting
Added: 21 Nov 2022
Handling third-party webhooks with Rails Event Store

Handling third-party webhooks with Rails Event Store Lately, one of our clients asked us to review his Rails Event Store-based...

Ruby
Added: 21 Nov 2022

Week 2022-46

Solo: Building Successful Web Apps By Your Lonesome

Whether by choice or by circumstance, you may find yourself developing a web application alone. Congratulations! You've got the house...

Consulting
Added: 19 Nov 2022
Site-wide configuration with Administrate

Adding site-wide configuration with a Rails model can be quite easy to do with Administrate.

Ruby on Rails
Added: 19 Nov 2022
Building an Alexa Skill in Arabic with Ruby

More detail on how the thoughtbot team built one of the first Alexa skills in Arabic, and what we learned...

Consulting Ruby
Added: 18 Nov 2022
Turbo Streams meets Action Cable

This post was extracted and adapted from The Rails and Hotwire Codex. Turbo Streams are a great...

Ruby on Rails
Added: 16 Nov 2022
Railsware Guide Into Types of MVPs | Railsware Blog

We break down 13 different types of MVPs with examples, discuss the pros and cons of each type, and suggest...

Consulting
Added: 16 Nov 2022
How we got struck by 5–year–old implementation

How we got struck by 5–year–old implementation Recently we discovered that we were wrong on computing lock key for acquiring...

Ruby Ruby on Rails
Added: 16 Nov 2022
For each loops with LATERAL Joins - Database Tip

A join can normally only link two static result sets together, but with LATERAL joins an efficient for-each loop with...

Added: 16 Nov 2022
How To Create Advanced Animations With CSS — Smashing Magazine

In this article, Yosra Emad explains how to create a rollercoaster path that a ball follows using cubic beziers and...

CSS
Added: 16 Nov 2022

Making a DNS query in Ruby from scratch

Ruby
Added: 16 Nov 2022
aria-label is a code smell

If it is important enough to need words, it is important enough to use text content.…