Write Software, Well

RSS Feed Articles

Latest articles from Write Software, Well

20 articles

Localhost is treated as a trustworthy origin even without TLS, so all apps on localhost run in a secure context. This allows secure features to work i...

29 days ago Read More

A staging environment is a safe replica of production where you can test features before going live. In this post, we'll create a staging environment ...

2 months ago Read More

In this post, I'll provision and configure the staging infrastructure for my blog, which is a Rails application. This includes installing and setting ...

2 months ago Read More

This is the first post in the series where I'm building my blog in Ruby on Rails. I'll create a new Rails application and we'll walk through some of t...

2 months ago Read More

After three years on Ghost, I'm rebuilding this blog from scratch with Ruby on Rails. In a new series, I'll document the journey of building a product...

3 months ago Read More

A sitemap lists your site's pages, helping Google crawl it efficiently. It's especially useful for large sites or new sites with zero backlinks. This ...

3 months ago Read More

The Rails router's direct method lets you create custom url and path helpers, which is especially useful for polymorphic models and delegated types. T...

3 months ago Read More

I started as a sceptic, but now I'm a convert and a heavy user of AI for everyday programming, and wanted to write down some common patterns and promp...

4 months ago Read More

This post shows how to inspect the sequence of before, after, and around callbacks in Rails controllers by adding a small initializer. Useful for unde...

4 months ago Read More

After three years of freelancing and over a year of running my own software studio, here're some scattered thoughts on freelancing as a software devel...

4 months ago Read More

You can safely extract options hash from the end of an argument list using the extract_options! method in Rails. Not only it simplifies the method def...

4 months ago Read More

In this post, we’ll explore how redirects work in Rails: what they are, how to redirect manually, and how the redirect_to method simplifies things. We...

4 months ago Read More

In this post, we'll learn how Rails' render method works and how to use it effectively. From rendering templates, partials, and inline content to JSON...

4 months ago Read More
Write Software, Well

Last week, I used AI to finally learn the basics of QuickBooks and handle my company’s bookkeeping. AI didn’t just help me finish a chore, it taught m...

4 months ago Read More

Announcing a new newsletter where I write about topics beyond Ruby on Rails: running a software services business, freelancing, positioning and market...

4 months ago Read More

If your Rails app deals with large files, let a reverse proxy like Nginx or Thruster serve them. In this post, we'll learn how X-Accel-Redirect (or X-...

5 months ago Read More

In this post, we'll learn how to use a SQL subquery in a Rails app to eliminate N+1 queries and improve performance. We'll profile a real-world exampl...

6 months ago Read More

As your application grows, so do your database tables. If you keep fetching all columns, those extra fields, especially large text or JSON blobs can q...

6 months ago Read More

This post shows how you can get a better understanding of your Ruby on Rails application performance with the Rails Debugbar, a profiling tool inspire...

6 months ago Read More

In 2012, GitHub was compromised by Mass Assignment vulnerability. A GitHub user used mass assignment that gave him administrator privileges to none ot...

7 months ago Read More
Railsrome

© 2024 Your Company, Inc. All rights reserved.