Building Semantic Search with Rails, OpenAI, and PG Vector

Semantic search is a transformative approach to searching data, designed to understand the meaning behind the words rather than just exact matches. In this article, we explore building a semantic search feature using Rails, OpenAI, Langchain.

#AI#Ruby on Rails
Added: 26 Nov 2024

When adding a boolean column to a table in a Rails application, one common question is whether to set a default value for it. Let’s explore why this choice matters, the best practices around it, and how it impacts data handling. Using a real-world example, we’ll take a look at a migration adding a women_only column to a trips table.

#Ruby on Rails
Added: 26 Nov 2024
Ultimate Rails Security Guide: Best Practices for Ruby on Rails Applications in 2025

Learn how to secure your Ruby on Rails applications with advanced techniques, built-in features, and the latest updates in Rails 8 and Ruby 3.3.6

#Backend#Ruby on Rails
Added: 26 Nov 2024
What's new in Rails 8 - Avo

Find out what makes Rails 8 a unique opportunity to

#DevOps#Ruby on Rails
Added: 26 Nov 2024
Add meta tags to a Rails application - Avo

Learn how to add meta tags including OG tags to your Rails app and what are the best practices around them

#Frontend#Ruby on Rails
Added: 21 Nov 2024
Productivity isn’t always fast 

It can often feel like we aren't being productive unless we're working at max speed. But slow productivity is here to subvert that idea.

#Consulting#Soft Skills
Added: 21 Nov 2024
What is a staff engineer? Technical leaders who aren't managers

Staff engineers are technical leaders who have deep domain knowledge, balancing the tech and business sides of an org.

#Consulting#Soft Skills#Staff Engineer
Added: 21 Nov 2024
Process slow network requests with Turbo and Active Model

Learn how to build a dynamic loading screen without writing a line of JavaScript.

#Frontend#HOTWire#Ruby on Rails
Added: 21 Nov 2024
Why do developers love clean code but hate writing documentation?  - Stack Overflow

In the Developer Coefficient, a study commissioned by the fintech giant Stripe, developers reported that they spent over 17 hours a week on maintenance tasks like debugging and refactoring—work classified as “toil.”

#AI
Added: 21 Nov 2024
Hotwire Native iOS Part 1

Up and Running with Hotwire Native iOS 1- Setup

#Frontend#HOTWire#Ruby on Rails
Added: 21 Nov 2024
Rails’ Partial Features You (didn’t) Know

Rails partials have many lesser known features. From counters to spacer templates! Learn all there is to know about partials.

#Frontend#Ruby on Rails
Added: 14 Nov 2024
Friendly URLs with the FriendlyId gem - Avo

Implement friendly URLs by scratch and using the FriendlyId for your Rails application and improve SEO and user experience

#Backend#Packages#Ruby on Rails
Added: 12 Nov 2024
Perfecting Your Rails Form: Nested Attributes

In this second part of the series, let's explore nested attributes how they work and why they are so complex.

#Backend#Frontend#Ruby on Rails
Added: 12 Nov 2024
📩My journey to send 100 mails to 500k effortlessly📩

Today, I’d like to share my journey while working for a client on implementing an efficient mailing...

#Backend#Ruby#Ruby on Rails
Added: 12 Nov 2024
Why (and when!) I use ViewComponents

Today I want to take a break from the election news and write about something that's been on my mind recently, ViewComponents.

#Frontend#Ruby on Rails
Added: 12 Nov 2024
The Ultimate Guide to implementing Hotwire and Turbo in a Rails application

Build, deploy and manage your applications on any cloud or your own servers.

#Frontend#HOTWire#Javascript#Ruby on Rails
Added: 12 Nov 2024
Design a Chat Application like WhatsApp - System Design Interview

Nearly everyone uses a chat application to send messages and stay connected.

#Consulting
Added: 12 Nov 2024
The president's doctor: Why your projects take forever

Spoiler: Things wait. A lot. A tale of efficiency, but for whom?

#Consulting
Added: 5 Nov 2024
Serving static assets with a CDN in Rails - Avo

Learn how to serve static assets using a CDN in Rails with a custom subdomain and improve your app's performance and UX.

#Backend#DevOps#Ruby on Rails
Added: 3 Nov 2024
Using a CDN for Active Storage Uploads - Avo

Learn how to use a CDN to serve Active Storage uploads and improve your application's performance and user experience

#Backend#DevOps#Ruby on Rails
Added: 3 Nov 2024
S3 uploads with Active Storage guide

Learn how to upload files to AWS S3 with this complete guide: S3 configuration, regular and direct file uploads plus integration with S3 compatible services.

#Backend#DevOps#Ruby on Rails
Added: 3 Nov 2024
Speed Up Compound Full-Text Searches in PostgreSQL by 300x - RorVsWild

Querying your database across associations can become a bottleneck in your Rails application. Julian Rubisch, our first guest author, explains why and suggests an efficient solution.

#database#Ruby on Rails
Added: 2 Nov 2024
Exploring Campfire Tests

I was always curious to see real 37signals code. When they released their first ONCE product, Campfire, I was tempted to buy it but I was not willing to spend US$ 299,00, the release price, and now it’s US$ 399,00. For me, it was too much money.

#Consulting#Ruby on Rails#testing
Added: 31 Oct 2024
[EN]  How I upgraded my pet project from Rails 7 to Rails 8 in 30 minutes

Time: 10-15 min Level: Intermediate Code: Application Revision: Oct 30, 24

#Consulting#Ruby on Rails
Added: 31 Oct 2024
Sending Web Push Notifications from Rails

An embedded Web Push demo and deep dive recipe for Web Push notifications for a Ruby on Rails application in advance of Rails 8 Action Notifier.

#Ruby on Rails
Added: 30 Oct 2024
First Previous Next Last