Posts by Shaheen Ullah
15
Apr
I’ve been working on a simple newsletter signup feature for my Ruby on Rails application, and I hit a snag that I believe many develope...
04
Apr
How do I Access Included Help Class Methods in a Rails Controller Using Ruby?
I was building a Rails utility class to handle file uploads when I hit a wall. My goal was simple: format file sizes into human-readabl...
04
Apr
How do I Remove Null Bytes from ActiveRecord String Attributes in Ruby?
As a Rails developer working with PostgreSQL, I ran into an issue that had me scratching attributes in ruby my head for a bit. Every ti...
24
Mar
How I Handled the “Invalid Grant” Error in My Ruby Service
I’ve been working on a Rails application that integrates with the NetDocuments API, where multiple users share a single ruby service ac...
24
Mar
How to Fix the Yield Command Will Not Work in Ruby
So there I was, reading The Well-Grounded Rubyist (a fantastic book, by the way!), trying to implement my own versions of Rub...
11
Mar
How to Link Metrics Data with Traces Using Exemplars in Ruby?
Linking metrics data with traces is a powerful technique for enhancing observability in distributed systems. It allows developers and D...
11
Mar
How Would I test Ruby Rails Constants Using Minitest?
As a developer who’s been burned by unexpected constant-related bugs more times than I’d like to admit, I’ve become militant about test...
08
Mar
How Do You Concatenate Heredoc Strings in Ruby?
If you're working with SQL queries or other multi-line strings in Ruby, you might prefer using heredoc syntax (<<-SQL) ...
31
Oct
Fix Google Apps Script HTML Syntax Error in Mapping Project
I'm pretty new to coding and running into a syntax error I can't seem to resolve. Earlier, I actually managed to get my script working,...