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: 2 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: 2 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, <selectmenu>, that will make styling this type of form control a whole lot better. You’re going to walk through an early implementation of this new experimental element by creating a pattern that you would never have thought possible with CSS alone — a radial selection menu.

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

How to design a queueing system to manage complex background jobs

#Backend#Ruby#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. An article about this powerful feature in Rails.

#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 remove the previous images from the record on every update, like in the following code:

#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 link_to helper, it can infer the URL from the object you are passing to it as the second parameter:

#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 differ from each other.

#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#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 Lograge.

#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 is to hiss like a…

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

The contents of a <code>map</code> 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
Ruby on Rails&#39; 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#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 unexpected errors in the result thanks to race conditions. Here I want to help you visualize how race conditions can make you save incorrect...

#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 I...

#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#Javascript
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 avoid N+1 queries.

#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
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 avoid common pitfalls and lead a more balanced work life.

#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
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 relationship that doesn’t quite sit right with you. What you’re sensing is dysfunction. It might not be catastrophic levels of dysfunction, but make no mistake, it's impacting your product growth and probably taking casualties along the way, with people on the teams feeling frustrated and adversarial.

#Consulting
Added: 12 May 2023
First Previous Next Last