This post explores where to access request headers by looking at the Rails source code after unexpectedly accessing the response headers.

#Backend#Ruby#Ruby on Rails
Added: 15 Jul 2024
Ruby on Rails Snippets I Find Helpful at the Start of a Project

When I'm starting a new Ruby on Rails project, these are few snippets that I find helpful

#Consulting#Ruby on Rails
Added: 8 Jul 2024
Highlighting Blogging on Mastodon · Matthias Ott – User Experience Designer

Matthias Ott is an independent user experience designer and developer from Stuttgart, Germany. Besides design practice he teaches Interface Prototyping at the Muthesius Academy of Fine Arts and Design, Kiel.

#Frontend
Added: 8 Jul 2024

This post details a proof-of-concept for optimistic UI. If you want to just browse the source, check out the optimistic-ui-hotwire-rails GitHub repository.

#Frontend#HOTWire#Ruby on Rails
Added: 8 Jul 2024
Sebastian Rollén's Blog

If you want to try this at home, here's a GitHub link to a demo application that follows the blog post below. Each commit corresponds to a section in the post.

#Frontend#Ruby on Rails
Added: 4 Jul 2024
TIL custom order with .in_order_of

Sometimes you need a custom, semantic order for things, usually statuses, types. Oftentimes this is...

#Ruby#Ruby on Rails
Added: 4 Jul 2024
Easy Postgres backups

How to use Kamal to backup and restore your Postgres database

#database#DevOps#Ruby on Rails
Added: 4 Jul 2024
Rails Adds ActiveRecord::Base.with_connection To Optimize Database Operations.

Efficiently manages database connections by promptly returning them to the pool after use, enabling immediate reuse rather than holding onto connections until the end of the request cycle.

#Ruby on Rails
Added: 4 Jul 2024
Add comments to your tables columns - Remi Mercier - Ruby on Rails Developer

By default, Rails adds comments to some attributes like `id` (`not null, primary key` for instance.) But now, I can add comments to my own attributes.

#database#Ruby on Rails
Added: 4 Jul 2024
The Productivity apps I use in 2024

Cassidy's current "stack" of task-tracking, calendar, and note-taking apps

#Consulting
Added: 2 Jul 2024
A pragmatic guide for adding React to an existing Rails application (and still use Hotwire)

For a long time, I thought that using React with Rails was an “all-or-nothing” proposition. I’m now realizing that the two can be integrated on a spectrum.

#Frontend#HOTWire#Javascript#Ruby on Rails
Added: 28 Jun 2024
How to add “Save and add another” feature to Rails apps

Learn how to add the “Save and add another” feature in your Rails app

#Frontend#Ruby on Rails
Added: 27 Jun 2024
API versioning in Ruby on Rails

Got a Rails API that needs some love? Learn how to version your API endpoints so that you can introduce new features while maintaining backward compatibility!

#Backend#Consulting#Ruby on Rails
Added: 27 Jun 2024
How to Deal with 1,000 Failing Specs in a Rails App

A few months ago, Planet Argon kicked off a Rails 2.1 to Rails 3.0 / Ruby 1.8.7 to Ruby 1.9.3 upgrade for one of our clients. The monolithic Rails app contai...

#Ruby on Rails#testing
Added: 26 Jun 2024
Hotwire Tutorial: How Do I Drag and Drop Items in a List? - Blogging On Rails

If you’ve been following the changes in Turbo 8, it looks incredibly promising for improving the perception of speed and interactivity on our web apps. A lot of the Stimulus Tutorials could use an update since they were first written, so I thought it would be good to over existing tutorials and rethink them withContinue reading "Hotwire Tutorial: How Do I Drag and Drop Items in a List?"

#Frontend#HOTWire#Ruby on Rails
Added: 25 Jun 2024
How to Create an Undo Action with Rails

Undoing an action, like archiving, deleting or even sending an email, is straightforward with Rails and Turbo. Let’s learn how to do it.

#HOTWire#Ruby on Rails
Added: 25 Jun 2024
Documenting Software Architectures

The Architects Choice

#Consulting
Added: 22 Jun 2024
Async Ruby on Rails

Ruby and Rails have several features to make your code more performant using async programming. Here’s a list of these tools and how to use them.

#Consulting#Ruby on Rails
Added: 14 Jun 2024
Exploring Rails Applications With Multiple Databases - FastRuby.io | Rails Upgrade Service

Unlock the potential of Rails with multi-database configurations, exploring setup for multiple database settings, whether horizontally or vertically.

#database#Ruby on Rails
Added: 14 Jun 2024
Replacing system tests with unit tests |

    Everyday Rails

Is your testing strategy too top-heavy? Here are some techniques to spread coverage down the testing pyramid.

#Consulting#Ruby on Rails#testing
Added: 14 Jun 2024
Tips for Using Less JavaScript

Practical tips to optimize your web performance by using HTML and CSS instead of JavaScript for common tasks like state management, responsive design, and UI elements.

#CSS#Frontend#Javascript
Added: 6 Jun 2024
Web Components Can Now Be Form Controls

Modern Web Weekly #18 One area in which developers have always wanted to customize elements is forms. Historically, it has often been hard to style form controls to give them the look and feel you want. The styling options are often limited and to this day, form controls like date

#Frontend#Javascript
Added: 6 Jun 2024
Top SQL Queries for Data Scientists

SQL seems like a data science underdog compared to Python and R. However, it’s far from it. I’ll show you here how you can use it as a data scientist.

#database
Added: 31 May 2024
Production-Grade (ish) Rails deployment on Hetzner with Kamal

I've been toying around with Kamal for some time now, and I believe I have come up with a nice setup for a reasonably robust deployment. It includes two servers, one for the application and another for database and caching, a firewall to expose only the ports we need (e.

#DevOps#Ruby on Rails
Added: 30 May 2024

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

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