Designing Web Components For Morphing and techniques to deal with reflecting attributes

#Frontend#Javascript
Added: 16 Sept 2024
The Rails Renaissance

The power of Rails with Turbo and Stimulus.

#Consulting#HOTWire#Ruby on Rails
Added: 16 Sept 2024
Ruby on Rails 7.1: Partial Strict Locals and Their Gotchas | AppSignal Blog

Rails partials have been around for years, but now strict locals have entered the scene to make things easier for us.

#Frontend#Ruby on Rails
Added: 13 Sept 2024

cache_key_with_version is a method used in Ruby on Rails to generate a cache key for a model object that includes its version number. This method is helpful for ensuring cache consistency, as it combines the object’s unique ID, updated timestamp, and a version number to create a unique cache key.

#Backend#Ruby on Rails
Added: 12 Sept 2024

Explore the key differences between sprockets and propshafts in rail systems. Understand their functions, applications, and how they contribute to the efficiency of rail operations.

#Javascript#Ruby on Rails
Added: 12 Sept 2024
Implementing Filtered Semantic Search Using Pgvector and JavaScript

Explore semantic search with filters and learn how you can implement it with pgvector and JavaScript.

#AI#database#Javascript
Added: 12 Sept 2024
Building a complex filtering system with Ruby on Rails

Embracing the digital experience

#Backend#Ruby on Rails
Added: 10 Sept 2024
Ruby on Rails Boilerplate: Vite, Tailwind, Stimulus

Embracing the digital experience

#Consulting#Ruby on Rails
Added: 10 Sept 2024
Upgrade Ruby using dual boot

Upgrade Ruby using dual boot

#DevOps#Ruby#Ruby on Rails
Added: 10 Sept 2024

Automate your next workflow.

#AI
Added: 10 Sept 2024
Betterstimulus | Targetless Controllers

Avoid mixing targetless controllers with those attached to a target.

#Frontend#HOTWire#Ruby on Rails
Added: 10 Sept 2024
Making a simple React microphone component

The browser has some nice built-ins for building a microphone recording component, so you don't have to use third-party libraries!

#Frontend#Javascript
Added: 7 Sept 2024
Building a breakout element with container units

Learn how to use container units and container queries to enhance an already flexible sidebar layout with some extra design control and full width breakout elements.

#CSS#Frontend
Added: 7 Sept 2024
Authenticating with OmniAuth and OpenID Connect (OIDC) in Ruby on Rails applications

What is OpenID Connect?

#Backend#Ruby on Rails
Added: 6 Sept 2024
Even Better Specs

Guidelines for Maintainable Tests

#Ruby#Ruby on Rails#testing
Added: 6 Sept 2024
Structure Your ERb and Partials for more Maintainable Front-end Code in Rails

It's not always clear how to make the most of partials and helpers in Rails and know when to put what code where. Regardless of the methods, we all still...

#Frontend#Ruby on Rails
Added: 5 Sept 2024
Mention users with TributeJS | SupeRails #186

In episode #95 we focused on parsing text and converting hashtags and mentions into links. Now let's add an @ mentions dropdown to any text field, so that you can select a user that you want to men...

#Backend#Frontend#Javascript#Ruby on Rails
Added: 5 Sept 2024
Routing Concerns in Rails

You must have used concerns in Rails. Did you know you can also use concerns for your routes? They allow you to declare common routes to be reused in other resources and routes. This post covers the basics of routing concerns, including what they are, how they work, and when you might need them.

#Backend#Ruby on Rails
Added: 4 Sept 2024
Six Degrees of Kevin Bacon - Postgres Style | Crunchy Data Blog

Paul Ramsey has some great examples of Postgres network analysis and graph theory in this sample code for playing the Kevin Bacon game. Both pgRouting and recursive CTE are used to solve graphing relationships.

#database
Added: 28 Aug 2024
Software estimates have never worked and never will

Since the dawn of computing, humans have sought to estimate how long it takes to build software, and for just as long, they've consistently failed. Estimating even medium-sized projects is devilishly difficult, and estimating large projects is virtually impossible. Yet the industry keeps insisting that the method that hasn't worked for...

#Consulting
Added: 28 Aug 2024
Redirect and return in Rails controllers

Premature returning from a controller action is a common idiom in Rails applications. I asked my followers in Twitter about whether they know or know how to do this correctly, and I am glad to see that most of them gave the correct answer. Let’s dive into the details.

#Backend#Ruby#Ruby on Rails
Added: 28 Aug 2024

As Rails developers, we often focus on writing clean, efficient Ruby code. However, as the application grows optimizing database performance is equally crucial for creating responsive applications. One of the most powerful tools in our arsenal for database optimization is indexing. Here I will talk about PostgreSQL indexing from a Rails developer’s perspective. The query plan generated by EXPLAIN will help us to make informed decisions about index creation, ensuring our database queries run as efficiently as possible.

#Backend#database#Ruby on Rails
Added: 28 Aug 2024
Easy to Overlook PostgreSQL Performance Issues in Rails Apps

Performance issues in the PostgreSQL layer usually start to manifest only when your app reaches a certain scale. In this blog post, I'll discuss easy-to-miss database config tweaks and common problems that I've encountered in multiple Rails projects.

#database#Ruby on Rails
Added: 28 Aug 2024
Squash Your Ruby and Rails Bugs Faster | AppSignal Blog

Let's look at a few readily available techniques and tools to gather and investigate issues in your Ruby or Rails app.

#Consulting#Ruby on Rails
Added: 22 Aug 2024
Sidekiq To SolidQueue Migration

Migrating the Miru app from Sidekiq to SolidQueue eliminated the dependency on Redis, reducing costs by utilizing database for job storage.

#Backend#DevOps#Ruby on Rails
Added: 21 Aug 2024
First Previous Next Last