Sign in

Ayush

@ayushn21.bsky.social
1.4K followers 334 following 428 posts

Pink Floyd and Steven Wilson addict. Test cricket enthusiast. Author of The Rails and Hotwire Codex. @bridgetownrb.com core. I write Ruby for money. ✍️ binarysolo.blog 📝 railsandhotwirecodex.com 📸 fslash42.com

PostsRepliesMedia
Reposted by Ayush
Pia Schwierz @larsum.com · 03/10/2026
Still the favourite of my projects. You can follow @tapejournal on instagram. But all the photos are already in this video. So don't know if it's motivating you to make the effort.
271
Ayush @ayushn21.bsky.social · 25/09/2026
And just like London buses, two more have just been merged too! A lot of the JavaScript guide will be subsumed into the Hotwire guide when that's merged, but I think the flow and detail of my rewrite works a lot better!
edgeguides.rubyonrails.org
Working with JavaScript in Rails — Ruby on Rails Guides
This guide covers the integration of JavaScript into your Rails application — including the usage of Turbo and Stimulus as well as the installation of external JavaScript packages into Rails.After rea...
130
Ayush @ayushn21.bsky.social · 25/09/2026
And another one of my #Rails Guides rewrites has just landed in `main`. edgeguides.rubyonrails.org/debugging_ra...
edgeguides.rubyonrails.org
Debugging Rails Applications — Ruby on Rails Guides
This guide covers the tools and techniques for debugging Rails applications.After reading this guide, you will know: How Rails' logging machinery works. How to use Ruby's debug gem. The Rails helper m...
150
Ayush @ayushn21.bsky.social · 18/09/2026
I’m really not bad at this whole cooking thing. Celebrating one year since my girlfriend and I met with a nice meal 😄
A round plate with sweet corn fritters and a bowl of sriracha mayo in the middle. A round place with a dome of aubergine rice. To its right there are some roasted sweet potatoes in a red sauce. And above those there are two pieces of pitta bread.
2131
Reposted by Ayush
Javier Cervantes @jvrc.ca · 18/09/2026
"Let me make it clear: without people at the top of their game sharing their experience and knowledge — regardless of whatever “game changing” technology is in place — we are pulling up the ladders and committing our industry to stagnation and death." bell.bz/youll-miss-p...
bell.bz
You’ll miss publishers when they’re gone
Ever since Piccalilli started to get traction, I’ve always seen CSS-Tricks, Smashing Magazine and A List Apart (among others) as peers. We all help each other behind the scenes and importantly, back each other. When CSS-Tricks was initially acquired by DigitalOcean, I was really happy for Chris. The work that he’d put into that publication […]
001
Ayush @ayushn21.bsky.social · 18/09/2026
Such incredibly sad news ... if anyone was Sir, she was Sir 😢
bbc.co.uk
Stephanie Cole: Coronation Street and Doc Martin actress dies aged 84
She was best known for playing the character Dr Beatrice Mason in the 1980s BBC wartime TV drama
070
Ayush @ayushn21.bsky.social · 18/09/2026
My rewritten guide on the Rails Asset Pipeline just landed in `main`. This was a big-ish change, streamlining the narrative to focus on Propshaft and how it works. Check it out:
edgeguides.rubyonrails.org
The Asset Pipeline — Ruby on Rails Guides
This guide explains how to handle essential asset management tasks.After reading this guide, you will know: What the Rails asset pipeline does. What Propshaft is and how it serves CSS, JavaScript, and...
072
Reposted by Ayush
Ayush @ayushn21.bsky.social · 10/09/2026
Never expose #PostgreSQL, #Redis, or similar private services to the internet. Always connect to them via a UNIX socket, or over a private cloud network. However, if you must access them via the internet, secure them with a self-signed certificate. Here's how:
binarysolo.blog
Generating self-signed certificates for web services
Private web services such as PostgreSQL or Redis shouldn't be exposed to the internet. This keeps them secure, as they can only be accessed via an SSH session to the machine...
031
Ayush @ayushn21.bsky.social · 10/09/2026
Never expose #PostgreSQL, #Redis, or similar private services to the internet. Always connect to them via a UNIX socket, or over a private cloud network. However, if you must access them via the internet, secure them with a self-signed certificate. Here's how:
binarysolo.blog
Generating self-signed certificates for web services
Private web services such as PostgreSQL or Redis shouldn't be exposed to the internet. This keeps them secure, as they can only be accessed via an SSH session to the machine...
031
Ayush @ayushn21.bsky.social · 10/09/2026
Just changed the body font on my blog to Red Hat Text from Noto Serif. I think the sans serif font reads a lot better! binarysolo.blog/deploying-ra...
binarysolo.blog
Deploying Rails apps to a server using Mimas
Deploying a Rails app to a server can have many moving parts. We need a reverse proxy to terminal SSL and serve static assets, ensure deploy errors don't affect the active release and that successful ...
020
Ayush @ayushn21.bsky.social · 08/09/2026
This is probably one of the most accessible descriptions of how LLMs work under the hood I've ever seen.
010
Ayush @ayushn21.bsky.social · 04/09/2026
My rewrite of the Layouts and Rendering guide has just been merged into #Rails! edgeguides.rubyonrails.org/layouts_and_...
edgeguides.rubyonrails.org
Layouts and Rendering in Rails — Ruby on Rails Guides
This guide covers the rendering features of Action Controller and its relationship with Action View.After reading this guide, you will know: How to use the various rendering methods built into Rails. ...
282
Ayush @ayushn21.bsky.social · 02/09/2026
#Rails hides a lot of Ruby language details, and provides a conventional structure for several things. This is all done for very good reason, but it also means developers may not learn how to use bare Ruby.
120
Ayush @ayushn21.bsky.social · 01/09/2026
Docker is quite heavy and can be a beast to deal with for simple apps. Deploying #Rails apps to a VPS is straightforward with Mimas, here's how:
binarysolo.blog
Deploying Rails apps to a server using Mimas
Deploying a Rails app to a server can have many moving parts. We need a reverse proxy to terminal SSL and serve static assets, ensure deploy errors don't affect the active release and that successful ...
381
Ayush @ayushn21.bsky.social · 26/08/2026
Modern #Rails apps probably don't need Redis, but it still incredibly useful for many reasons. Sidekiq is still the most fastest job executor out there (in my experience), and that uses Redis. Here's how to set it up on your own server:
binarysolo.blog
Redis server setup for Rails apps
In this post, we'll discuss how to install and configure Redis on an Ubuntu server for use with Rails apps...
021
Ayush @ayushn21.bsky.social · 25/08/2026
Here's how I setup PostgreSQL for Scattergun (and for all my future Rails apps) I've burnt my fingers too many times with PaaS providers going to shit, so I'm going to self-host everything going forward. binarysolo.blog/postgresql-s...
binarysolo.blog
PostgreSQL server setup for Rails apps
Following on from my series on Ruby app deployment, in this post, I'll cover the installation and setup of PostgreSQL for Ruby and Rails apps. We'll discuss how to install, secure, and backup PostgreS...
120
Ayush @ayushn21.bsky.social · 19/08/2026
I've finally migrated @scattergun.email to my own server ... Render.com was just quite shit with what you get for the money, all PaaS are I think. As part of this I built Mimas to help deploy Ruby apps with ease.
codeberg.org
mimas
Deploy static sites and Ruby apps to a single server using an opinionated setup
220
Ayush @ayushn21.bsky.social · 18/08/2026
My talk about @bridgetownrb.com at Haggis Ruby in 2024 appeared on YouTube a few weeks ago, and I've just realised, so sharing it now!
youtube.com
Ayush Newatia - Turn Left for Bridgetown: Overview of a next-generation static(ish) site generator
YouTube video by Haggis Ruby
113
Ayush @ayushn21.bsky.social · 13/08/2026
My "Getting Started" guide for Rack just got merged to the official docs! :D Rack underpins every #Ruby web framework and app server, yet I don't think it's always well understood. Give it a read!
rack.github.io
GETTING-STARTED - RDoc Documentation
Getting Started With Rack This guide demonstrates how to create a basic Rack application and run it using a Rack-compliant web server. puma.
1143
Ayush @ayushn21.bsky.social · 11/08/2026
The blog post as promised ...
binarysolo.blog
Ruby installation and management with rv
Ruby version management can be quite fiddly. All Ruby developers need multiple Ruby versions installed, as different projects may use different Rubies...
162
Ayush @ayushn21.bsky.social · 10/08/2026
I just released v0.4.0 of Mimas, which replaces `ruby-install` and `chruby` with `rv`. codeberg.org/ayushn21/mimas
codeberg.org
mimas
Deploy static sites and Ruby apps to a single server using an opinionated setup
140
Ayush @ayushn21.bsky.social · 05/08/2026
Codeberg was down for a fair bit of time last Friday, so re-sharing! More updates coming ... I'll be swapping `ruby-install` for `rv`, meaning you can install a new #Ruby in around 1 second! #Rails plugin also in the works ....
codeberg.org
mimas
Deploy static sites and Ruby apps to a single server using an opinionated setup
010
Reposted by Ayush
Ayush @ayushn21.bsky.social · 31/07/2026
Mimas is the result of all the research covered in the below blog series. It's a CLI tool that automates Ruby deployment end-to-end, from securing the server, to installing required software, to log rotation, and everything in between.
codeberg.org
mimas
Deploy static sites and Ruby apps to a single server using an opinionated setup
242
Reposted by Ayush
Bridgetown @bridgetownrb.com · 31/07/2026
Bridgetown's deployment story for apps with both static content and Roda routes hasn't been great, until now! Deploy your static sites and routes side-by-side on the same server using Mimas and its official Bridgetown plugin!
011
Ayush @ayushn21.bsky.social · 31/07/2026
Mimas is the result of all the research covered in the below blog series. It's a CLI tool that automates Ruby deployment end-to-end, from securing the server, to installing required software, to log rotation, and everything in between.
codeberg.org
mimas
Deploy static sites and Ruby apps to a single server using an opinionated setup
242
Ayush @ayushn21.bsky.social · 23/07/2026
I've spent the last few weeks experimenting with various setups for deploying #Ruby apps to a server. Here's my first blog post in a series where I'll describe what I've come up with. Most tutorials gloss over details like security and user management. I'm going for as much detail as possible!
binarysolo.blog
Server setup for Ruby web applications
The ease of using Heroku and other similar platforms means a generation of developers, including me, have never really needed to setup and manage servers during our career. As such, I was a bit afraid...
142
Ayush @ayushn21.bsky.social · 20/07/2026
I joined the Philippines #Ruby User Group meetup a few weeks ago to talk everything #Rack. It underpins every popular Ruby framework and app server, and I feel it's not always well understood. I make a rod for my own back by doing the entire talk exclusively as a demo (and yes, stuff went wrong).
youtube.com
Rippin in Rack and Ruby middleware with Ayush Newatia
YouTube video by Paglalayag
131
Ayush @ayushn21.bsky.social · 09/07/2026
I'm not sure why the press is saying no one's ever done justice to The Odyssey on screen before. Anyone who's ever seen the Simpsons episode "Tales from the Public Domain" knows that it is the gold standard for an adaptation of The Odyssey. Nolan has his work cut out to top that .... 😝
en.wikipedia.org
Tales from the Public Domain - Wikipedia
020
Reposted by Ayush
Elizabeth Ammon @elizabethammon.bsky.social · 02/07/2026
A post about the English Cricket Omni shambles.
2133
Ayush @ayushn21.bsky.social · 02/07/2026
I don't think I've ever been this emotionally disinvested in any of the England Men's cricket teams ... I've almost found myself wanting England to get battered so we can see the end of McCullum and Key ... such a shambles, and a crying shame that Stokes was the first to go.
120
Ayush @ayushn21.bsky.social · 29/06/2026
#Ruby folks, I'm looking for my next client ... I'm available 20h/week and usually work with long-term clients (6 months or more) to make the most impact.
radioactivetoy.tech
Radioactive Toy
A boutique Rails and Ruby development studio
169
Ayush @ayushn21.bsky.social · 19/06/2026
First time hosting friends for dinner ... not too shabby I reckon! :D
040
Ayush @ayushn21.bsky.social · 07/06/2026
This is far too real! youtu.be/iSkeBUcKP4A
youtu.be
Good Time Fun Wheel
YouTube video by Late Night with Seth Meyers
010
Reposted by Ayush
Bridgetown @bridgetownrb.com · 21/05/2026
Bridgetown 2.2 "Verdant River City" is out! It's a springtime bloom of new features: - Wikilinks in Markdown - Support for Falcon, the highly concurrent Ruby web application server - New sponsorship opportunities - Sneak peak at the Bridgetown Center program 👀
bridgetownrb.com
Everyone Deserves a Wiki: Bridgetown 2.2 is Here
Wikilinks in Markdown, support for Falcon the highly concurrent Ruby web application server, performance enhancements, bugfixes, and more!
022
Reposted by Ayush
Felipe Vogel @fpsvogel.bsky.social · 20/05/2026
Bridgetown 2.2 "Verdant River City" is out! It's a springtime bloom of new features: - Wikilinks in Markdown - Support for Falcon, the highly concurrent Ruby web application server - New sponsorship opportunities - Sneak peak at the Bridgetown Center program 👀 www.bridgetownrb.com/release/ever...
bridgetownrb.com
Everyone Deserves a Wiki: Bridgetown 2.2 is Here
Wikilinks in Markdown, support for Falcon the highly concurrent Ruby web application server, performance enhancements, bugfixes, and more!
002
Ayush @ayushn21.bsky.social · 18/05/2026
My rewritten #Rails on Rack guide is now live! edgeguides.rubyonrails.org/rails_on_rac...
edgeguides.rubyonrails.org
Rails on Rack — Ruby on Rails Guides
This guide covers Rails' integration with Rack. After reading this guide, you will know: What Rack is and why Rails uses it. How Rails uses Rack middleware to build an application stack. Action Pack's...
061
Ayush @ayushn21.bsky.social · 12/05/2026
It was great fun podcasting with @jaredwhite.com again! Thanks for having me on 😄 vibe.coded.show/13
vibe.coded.show
Vibe Coded | The Death and Resurrection of UX w/Ayush Newatia
Marketing has taken over product design. Usability used to mean something. Now software is becoming less
130
Reposted by Ayush
Ayush @ayushn21.bsky.social · 11/05/2026
Anyone I know going for Alex Horne’s Football match in Chesham this weekend?
111
Reposted by Ayush
Angri Bundel @anibundel.com · 11/05/2026
We lost Douglas Adams 25 years ago today. This has made a lot of people very sad and has been widely regarded as a bad move.
136110432907
Ayush @ayushn21.bsky.social · 11/05/2026
Anyone I know going for Alex Horne’s Football match in Chesham this weekend?
111
Ayush @ayushn21.bsky.social · 09/05/2026
The Virgin Media dashboard gives me an offer to renew my current contract for £33.74/month. Customer support tells me the cheapest deal available on my account is £37/month. New customers get the package for £18.99/month. Welcome to the tangled web that is capitalism.
010
Ayush @ayushn21.bsky.social · 07/05/2026
My friend Leoni's kickstarter for her debut album reached it's goal in a week! It's an awesome album, I've heard most of it both live and recorded. The campaign runs for another 3 weeks or so if you'd like to make a pledge! www.kickstarter.com/projects/leo...
kickstarter.com
Synthetic
Leoni Jane Kennedy's debut original album is set to be released in 2026, but she needs your help to produce physical merchandise!
010
Ayush @ayushn21.bsky.social · 07/05/2026
Jenny Colquitt's new album is an absolute banger! jennycolquitt.bandcamp.com/album/pocket...
jennycolquitt.bandcamp.com
Pockets Full of Rain, by Jenny Colquitt
10 track album
010
Reposted by Ayush
It's Just N̶o̶t̶ Cricket @justnotcrkpod.bsky.social · 01/05/2026
Cricket pals, if anyone fancies a game in sunny Regent's Park tomorrow, let us know in the comments or drop us a DM! We're unfortunately short a player. Any experience is welcome and you'll get a full game with bat or ball (probably both). Reposts or shares would be appreciated 💚 #cricket #sport
028
Ayush @ayushn21.bsky.social · 30/04/2026
If anyone's actively working on a Bridgetown site, could you do me a solid and test out this PR for me please? Just add to your Gemfile: `gem "bridgetown-core", github: "bridgetownrb/bridgetown", branch: "refactor-start"` No other changes ... if anything breaks then please let me know 🙌
github.com
Refactor the start and build commands — adding ability to choose your own web server by ayushn21 · Pull Request #1093 · bridgetownrb/bridgetown
This is a 🙋 feature or enhancement. Summary rackup is soft deprecated so we should drop our dependency on it. Also it restricts the options you can pass to a rack web server when starting it. In pr...
000
Reposted by Ayush
Ayush @ayushn21.bsky.social · 29/04/2026
Hot on the heels of the RubyKaigi talk by Samuel Williams, Josh Teeter, and Marc-Andre Cournoyer about how Falcon handled Shopify's Black Friday traffic last year, Falcon will be the default in the next @bridgetownrb.com release! github.com/bridgetownrb...
github.com
Swap Puma out in favour of Falcon by ayushn21 · Pull Request #1083 · bridgetownrb/bridgetown
An initial stab at swapping Puma out for Falcon. At first look, everything seems to be working. We removed all hard dependencies on Puma last year so we might be mostly good to go here. @jaredcwhit...
132
Ayush @ayushn21.bsky.social · 29/04/2026
Hot on the heels of the RubyKaigi talk by Samuel Williams, Josh Teeter, and Marc-Andre Cournoyer about how Falcon handled Shopify's Black Friday traffic last year, Falcon will be the default in the next @bridgetownrb.com release! github.com/bridgetownrb...
github.com
Swap Puma out in favour of Falcon by ayushn21 · Pull Request #1083 · bridgetownrb/bridgetown
An initial stab at swapping Puma out for Falcon. At first look, everything seems to be working. We removed all hard dependencies on Puma last year so we might be mostly good to go here. @jaredcwhit...
132
Reposted by Ayush
Javier Cervantes @jvrc.ca · 28/04/2026
Happy to share that Ruby Users Forum will offer a place for Bridgetown discussions: www.rubyforum.org/t/bring-your...
rubyforum.org
Bring your Bridgetown discussions to the Ruby Users Forum
Today we’re happy to share that Ruby Users Forum will offer a place for Bridgetown discussions. Bridgetown is a “vanilla-first” progressive site generator & fullstack framework. Check out their docum...
032
Ayush @ayushn21.bsky.social · 27/04/2026
6 months with this one today ❤️. On our third date, I hid a lemon 🍋 in her bag (if you know, you know) and now here we are. 😄
1130
Reposted by Ayush
Ky @ky.fyi · 24/04/2026
I wrote about why I quit my job, and how weird and tiring tech feels these days.
ky.fyi
Do I belong in tech anymore?
On quitting, the spread of AI, and the loss of an ideal.
1281791545