---
title: "Blogs by Chirag Shah"
description: "Read BigBinary blog posts by Chirag Shah."
canonical_url: "https://www.bigbinary.com/blog/authors/chiraggshah"
markdown_url: "https://www.bigbinary.com/blog/authors/chiraggshah.md"
---

# Blogs by Chirag Shah

Read BigBinary blog posts by Chirag Shah.

## Posts

### Active Record adds support for deprecating associations

[Active Record adds support for deprecating associations](https://www.bigbinary.com/blog/active-record-deprecated-associations)

- Author: Chirag Shah
- Published: July 3, 2025
- Categories: Rails, Ruby

Active Record adds the ability to safely remove associations by first
deprecating them

### How we migrated from Sidekiq to Solid Queue

[How we migrated from Sidekiq to Solid Queue](https://www.bigbinary.com/blog/migrating-to-solid-queue-from-sidekiq)

- Author: Chirag Shah
- Published: March 5, 2024
- Categories: Rails, Solid Queue

How we migrated to Solid Queue from Sidekiq

### Solid Queue & understanding UPDATE SKIP LOCKED

[Solid Queue & understanding UPDATE SKIP LOCKED](https://www.bigbinary.com/blog/solid-queue)

- Author: Chirag Shah
- Published: January 23, 2024
- Categories: Rails, Solid Queue

Introduction to solid queue

### Inline Installation of Firefox Extension

[Inline Installation of Firefox Extension](https://www.bigbinary.com/blog/inline-installation-of-firefox-extension)

- Author: Chirag Shah
- Published: September 27, 2018
- Categories: JavaScript, Misc

The blog explains how to enable inline installation of a Firefox extension's
latest version

### Upload direct to S3 with Pre-signed POST request

[Upload direct to S3 with Pre-signed POST request](https://www.bigbinary.com/blog/uploading-files-directly-to-s3-using-pre-signed-post-request)

- Author: Chirag Shah
- Published: September 4, 2018
- Categories: Rails

Pre-signed POST request allows for securely uploading large files directly to S3
via a signed expirable url, bypassing the 30 seconds Heroku time limit

### Faster JSON generation using PostgreSQL JSON function

[Faster JSON generation using PostgreSQL JSON function](https://www.bigbinary.com/blog/generating-json-using-postgresql-json-function)

- Author: Chirag Shah
- Published: May 29, 2018
- Categories: Rails

PostgreSQL 9.2 and above has inbuilt support for JSON generation which can be
used for faster JSON generation

### Rails 5.2 supports descending indexes for MySQL

[Rails 5.2 supports descending indexes for MySQL](https://www.bigbinary.com/blog/rails-5-2-supports-descending-indexes-for-mysql)

- Author: Chirag Shah
- Published: January 10, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 now supports descending indexes for MySQL for versions 8.0.1 and
higher.

### Higher Order Component to render spinner React Native

[Higher Order Component to render spinner React Native](https://www.bigbinary.com/blog/higher-order-component-for-rendering-spinner-in-react-native-app)

- Author: Chirag Shah
- Published: November 15, 2017
- Categories: React Native, JavaScript

How we wrote our own Higher Order Component for rendering spinner in react
native app

### Ruby 2.4 has optimized enumerable min max methods

[Ruby 2.4 has optimized enumerable min max methods](https://www.bigbinary.com/blog/ruby-2-4-0-has-optimized-enumerable-min-max-methods)

- Author: Chirag Shah
- Published: September 28, 2017
- Categories: Ruby 2.4, Ruby

min, max and minmax methods for enumerable class have been optimized in ruby 2.4

### Uploading file in an isomorphic ReactJS app

[Uploading file in an isomorphic ReactJS app](https://www.bigbinary.com/blog/uploading-file-in-an-isomorphic-reactjs-app)

- Author: Chirag Shah
- Published: August 28, 2017
- Categories: ReactJS

This blog explains how to upload a file in an isomorphic app

### Ruby 2.4 has added additional parameters for Logger#new

[Ruby 2.4 has added additional parameters for Logger#new](https://www.bigbinary.com/blog/ruby-2-4-has-added-additional-parameters-for-logger-new)

- Author: Chirag Shah
- Published: April 10, 2017
- Categories: Ruby 2.4, Ruby

Ruby 2.4 makes it possible to specify logger level, progname, formatter and
datetime_format in logger constructor.

### Ruby 2.4 has default basename for Tempfile#create

[Ruby 2.4 has default basename for Tempfile#create](https://www.bigbinary.com/blog/ruby-2-4-has-default-basename-for-tempfile-create)

- Author: Chirag Shah
- Published: April 4, 2017
- Categories: Ruby 2.4, Ruby

Tempfile#create method now has a default empty basename

### Ruby 2.4 optimized lstrip & strip for ASCII strings

[Ruby 2.4 optimized lstrip & strip for ASCII strings](https://www.bigbinary.com/blog/ruby-2-4-has-optimized-lstrip-and-strip-methods)

- Author: Chirag Shah
- Published: March 14, 2017
- Categories: Ruby 2.4, Ruby

lstrip and rstrip methods have been optimized in ruby 2.4

### IO#readlines now accepts chomp flag as an argument

[IO#readlines now accepts chomp flag as an argument](https://www.bigbinary.com/blog/io-readlines-now-accepts-chomp-flag-as-an-argument)

- Author: Chirag Shah
- Published: March 7, 2017
- Categories: Ruby 2.4, Ruby

IO methods now have an optional chomp flag to remove newline return characters

### open-uri in Ruby 2.4 allows http to https redirection

[open-uri in Ruby 2.4 allows http to https redirection](https://www.bigbinary.com/blog/open-uri-in-ruby-2-4-allows-http-to-https-redirection)

- Author: Chirag Shah
- Published: March 2, 2017
- Categories: Ruby 2.4, Ruby

open-uri now allows http to https redirection in Ruby 2.4

### Ruby 2.4 adds compare by identity functionality

[Ruby 2.4 adds compare by identity functionality](https://www.bigbinary.com/blog/ruby-2-4-adds-compare-by-identity-functionality-for-sets)

- Author: Chirag Shah
- Published: December 29, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 adds compare_by_identity and compare_by_identity? methods for Set class
so that now we can compare the set elements by their identitiy rather than value

### Opening non HTTPS sites in WebView in React Native

[Opening non HTTPS sites in WebView in React Native](https://www.bigbinary.com/blog/open-non-https-sites-in-webview-in-react-native)

- Author: Chirag Shah
- Published: July 27, 2016
- Categories: React Native

Opening non HTTPS sites in WebView in React Native

### HTTP request headers on each WebView request

[HTTP request headers on each WebView request](https://www.bigbinary.com/blog/passing-request-headers-on-each-webview-request-in-react-native)

- Author: Chirag Shah
- Published: July 26, 2016
- Categories: React Native

Send HTTP request headers on each WebView request in React Native

### Not using https might be breaking file uploads

[Not using https might be breaking file uploads](https://www.bigbinary.com/blog/not-using-https-might-be-breaking-file-uploads)

- Author: Chirag Shah
- Published: January 7, 2016
- Categories: Rails

Using http instead of https might be breaking your file uploads. This blog
explains how and why it happens.

### Using Stripe API in React Native with fetch

[Using Stripe API in React Native with fetch](https://www.bigbinary.com/blog/using-stripe-api-in-react-native-with-fetch)

- Author: Chirag Shah
- Published: November 3, 2015
- Categories: React Native

Use Stripe API in React Native using fetch

### How to test React Native App on a real iPhone

[How to test React Native App on a real iPhone](https://www.bigbinary.com/blog/how-to-test-react-native-app-on-real-iphone)

- Author: Chirag Shah
- Published: August 25, 2015
- Categories: React Native

Simulators are great but one needs to test on real mobile devices to get a real
feel for how the app will behave on real phones. In this blog we are going to
show how to test React Native app on a real iPhone.

## Links

- [Human page](https://www.bigbinary.com/blog/authors/chiraggshah)
