powRSS
Home Recent Glimpses Shuffle Blogs Random

New: Explore conversations across blogs with powRSS Mentions

Write Software, Well

Akshay

My name is Akshay, and I'm a software developer living in beautiful Victoria, British Columbia. I grew up in India, but Canada has been my home for the past 10 years. I am married to Pratiksha and we have a daughter, Suhani. I love programming in Ruby and building web applications with Rails. This blog is my attempt to share my learnings and to spread the joy of programming in Ruby with the world. Every day, I try to learn something new in Ruby and Rails and write about it.

October 2026

Top Words

  • rails
  • active
  • storage
  • internals
  • understanding
  • helper
  • working
  • freelancing
  • developers
  • redirects
  • manual
  • render

All posts (43)

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 the important files and directories in a fresh Rails project. By the end of this post, we'll have a basic app up and running in the browser.
TL;DR: If you don't want to read the >3000 word post, here's the gist:X-Sendfile (or a variation of it, such as X-Accel-Redirect) is an HTTP response header used by web servers (like Nginx, Apache, or Thruster) to efficiently serve files to clients without the Rails application server having to load file in-memory...
I’ll start with a confession: I’m still quite new to the world of performance analysis and optimization.Monitoring how Rails apps behave in the real world, especially when it comes to database queries and SQL performance is something I’ve only recently started paying attention to after a deep dive on a recent client...
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.- Donald KnuthIn this post, we're going to explore how to reduce memory used by your Rails applications by only querying the data you...
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.- Donald KnuthWhen you're building Rails apps and having fun building new features, it's easy to lose track of what's actually...
This is the fifth post in my series on Rails Controllers. Originally published last year, I have revised it and have included the new expect method introduced in Rails 8.As Rails developers, we are used to using post_params or user_params methods in our controller classes. Until recently, I had no idea why we were...
This is the fourth post in my series on Rails Controllers.HTTP is a request response protocol. The browser (client) sends an HTTP request to the server (Rails application), which parses that request and generates the HTTP response, typically an HTML page, and sends it to the browser. The browser then renders that...

Page 4 of 4