---
title: "All BigBinary Blog Posts"
description:
  "Read articles on Ruby on Rails, ReactJS, React Native, open source,
  engineering practices, and design insights from BigBinary."
canonical_url: "https://www.bigbinary.com/blog/all"
markdown_url: "https://www.bigbinary.com/blog/all.md"
---

# All BigBinary Blog Posts

Read articles on Ruby on Rails, ReactJS, React Native, open source, engineering
practices, and design insights from BigBinary.

## Posts

### Debugging frontend crash and handling circular dependency

[Debugging frontend crash and handling circular dependency](https://www.bigbinary.com/blog/debugging-frontend-crash-and-handling-circular-dependency)

- Author: Joseph Mathew
- Published: June 10, 2026
- Categories: JavaScript, ReactJS

Debugging frontend crash and handling circular dependency

### CDN caching issue involving Cloudfront and Cloudflare

[CDN caching issue involving Cloudfront and Cloudflare](https://www.bigbinary.com/blog/cdn-caching-issue-involving-cloudfront-and-cloudflare)

- Author: Unnikrishnan KP
- Published: February 2, 2026
- Categories: frontend

CDN caching issue involving Cloudfront and Cloudflare

### How to analyze Playwright traces

[How to analyze Playwright traces](https://www.bigbinary.com/blog/how-to-analyze-playwright-traces)

- Author: Deepanshu Rajput
- Published: January 15, 2026
- Categories: Playwright

Learn how to use Playwright's Trace Viewer to debug test failures with DOM
snapshots, network requests, console logs, and action timelines.

### DNS basics and how DNS works in Neeto

[DNS basics and how DNS works in Neeto](https://www.bigbinary.com/blog/dns-basics-and-how-dns-works-in-neeto)

- Author: S Varun
- Published: January 6, 2026
- Categories: Neeto

DNS basics and how DNS works in Neeto

### Debugging a Stack Overflow in Rails 7.2.1.1

[Debugging a Stack Overflow in Rails 7.2.1.1](https://www.bigbinary.com/blog/debugging-stack-overflow-in-rails)

- Author: Vishnu M
- Published: November 25, 2025
- Categories: Rails, Ruby

Debugging a Stack Overflow in Rails 7.2.1.1

### 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

### Active Job Continuations

[Active Job Continuations](https://www.bigbinary.com/blog/active-jobs-continuations)

- Author: Vishnu M
- Published: June 9, 2025
- Categories: Rails, Sidekiq, Ruby

Active job feature that allows us to describe jobs in an interruptible manner

### Understanding Queueing Theory

[Understanding Queueing Theory](https://www.bigbinary.com/blog/understanding-queueing-theory)

- Author: Vishnu M
- Published: June 3, 2025
- Categories: Rails, Sidekiq, Ruby, Solid Queue

### Understanding Active Record Connection Pooling

[Understanding Active Record Connection Pooling](https://www.bigbinary.com/blog/understanding-active-record-connection-pooling)

- Author: Vishnu M
- Published: May 13, 2025
- Categories: Rails, Puma, Ruby

### Finding ideal number of threads per process using GVL instrumentation

[Finding ideal number of threads per process using GVL instrumentation](https://www.bigbinary.com/blog/tuning-puma-max-threads-configuration-with-gvl-instrumentation)

- Author: Vishnu M
- Published: May 6, 2025
- Categories: Rails, Puma, Ruby

### Amdahl's Law - The Theoretical Relationship Between Speedup and Concurrency

[Amdahl's Law - The Theoretical Relationship Between Speedup and Concurrency](https://www.bigbinary.com/blog/amdahls-law-the-theoretical-relationship-between-speedup-and-concurrency)

- Author: Vishnu M
- Published: April 29, 2025
- Categories: Rails, Puma, Ruby

### GVL in Ruby and the impact of GVL in scaling Rails applications

[GVL in Ruby and the impact of GVL in scaling Rails applications](https://www.bigbinary.com/blog/gvl-in-ruby-and-its-impact-in-scaling-rails-applications)

- Author: Vishnu M
- Published: April 24, 2025
- Categories: Rails, Puma, Ruby

### Scaling Rails Series

[Scaling Rails Series](https://www.bigbinary.com/blog/scaling-rails-series)

- Author: Vishnu M
- Published: April 22, 2025
- Categories: Rails, Puma

Scaling Rails

### Migrating to TanStack Query v5

[Migrating to TanStack Query v5](https://www.bigbinary.com/blog/migrating-to-tanstack-query-v5)

- Author: Gaagul C Gigi
- Published: March 11, 2025
- Categories: React

Key points and breaking changes to consider when migrating to TanStack Query v5.

### Benchmarking caching in Rails with Redis vs the alternatives

[Benchmarking caching in Rails with Redis vs the alternatives](https://www.bigbinary.com/blog/caching-in-rails-with-redis-vs-alternatives)

- Author: Sandip Mane
- Published: February 4, 2025
- Categories: Rails

Benchmarking caching in Rails including Redis, Memcached, Valkey, DragonflyDB,
SolidCache with PostgreSQL, SolidCache with SQLite3, and LiteCache with SQLite3.

### How to remotely EV code-sign a Windows application using ssl.com

[How to remotely EV code-sign a Windows application using ssl.com](https://www.bigbinary.com/blog/ev-code-sign-windows-application-ssl-com)

- Author: Farhan CK
- Published: December 17, 2024
- Categories: JavaScript, ReactJS, Electron

EV code-sign a Windows application using ssl.com

### Using native modules in Electron

[Using native modules in Electron](https://www.bigbinary.com/blog/native-modules-electron)

- Author: Farhan CK
- Published: December 11, 2024
- Categories: Electron

Using native modules in Electron

### Requesting camera and microphone permission in an Electron app

[Requesting camera and microphone permission in an Electron app](https://www.bigbinary.com/blog/request-camera-micophone-permission-electron)

- Author: Farhan CK
- Published: December 3, 2024
- Categories: JavaScript, ReactJS

Requesting camera and microphone permission in an Electron app

### Building deep-links in Electron application

[Building deep-links in Electron application](https://www.bigbinary.com/blog/deep-link-electron-app)

- Author: Farhan CK
- Published: November 26, 2024
- Categories: Electron

Building deep-links in Electron application

### How to code-sign and notarize an Electron application for macOS

[How to code-sign and notarize an Electron application for macOS](https://www.bigbinary.com/blog/code-sign-notorize-mac-desktop-app)

- Author: Farhan CK
- Published: November 19, 2024
- Categories: JavaScript, ReactJS, Electron

Code-sign and notarize an Electron application for macOS

### Configuring webpack to handle multiple browser windows in Electron

[Configuring webpack to handle multiple browser windows in Electron](https://www.bigbinary.com/blog/electron-multiple-browser-windows)

- Author: Farhan CK
- Published: November 12, 2024
- Categories: JavaScript, ReactJS, Electron

How to configure webpack to handle multiple browser windows in Electron

### Improving search experience using Elasticsearch

[Improving search experience using Elasticsearch](https://www.bigbinary.com/blog/elasticsearch-improvements)

- Author: Sayooj Surendran
- Published: October 29, 2024
- Categories: Elasticsearch

Learn how we improved our search experience in NeetoCourse by tweaking
Elasticsearch config.

### Building and publishing an Electron application using electron-builder

[Building and publishing an Electron application using electron-builder](https://www.bigbinary.com/blog/publish-electron-application)

- Author: Farhan CK
- Published: October 22, 2024
- Categories: Electron

Building and publishing an Electron application using electron-builder.

### Benchmarking Crunchy Data for latency

[Benchmarking Crunchy Data for latency](https://www.bigbinary.com/blog/crunchy-bridge-vs-digital-ocean)

- Author: Vishnu M
- Published: October 15, 2024
- Categories: Misc

Benchmarking Crunchy Data for latency

### Evaluating JavaScript code in the browser

[Evaluating JavaScript code in the browser](https://www.bigbinary.com/blog/evaluating-javascript-in-neeto-course)

- Author: Sayooj Surendran
- Published: October 8, 2024
- Categories: JavaScript

Learn how we evaluate JavaScript in NeetoCourse

### Creating a synchronized store between main and renderer process in Electron

[Creating a synchronized store between main and renderer process in Electron](https://www.bigbinary.com/blog/sync-store-main-renderer-electron)

- Author: Farhan CK
- Published: October 1, 2024
- Categories: JavaScript, ReactJS, Electron

Creating a synchronized store between main and renderer process in Electron

### Standardizing frontend routes and dynamic URL generation in Neeto products

[Standardizing frontend routes and dynamic URL generation in Neeto products](https://www.bigbinary.com/blog/standardizing-frontend-routes)

- Author: Navaneeth D
- Published: September 24, 2024
- Categories: React

Explore Neeto's best practices for frontend route standardization and dynamic
URL generation with the buildUrl function

### Why we switched from Cypress to Playwright

[Why we switched from Cypress to Playwright](https://www.bigbinary.com/blog/why-we-switched-from-cypress-to-playwright)

- Author: S Varun
- Published: September 18, 2024
- Categories: Playwright

Why we switched from Cypress to Playwright

### Dropping tables, dropping columns and renaming columns in a safe way in Ruby on Rails

[Dropping tables, dropping columns and renaming columns in a safe way in Ruby on Rails](https://www.bigbinary.com/blog/rails-8-deleting-tables-columns-using-rubocop)

- Author: Abhay V Ashokan
- Published: September 17, 2024
- Categories: Rails

Dropping tables and columns in a safe way in Ruby on Rails

### Upgrade Ruby using dual boot

[Upgrade Ruby using dual boot](https://www.bigbinary.com/blog/ruby-upgrade-using-dual-boot)

- Author: Vijay Vinod
- Published: September 4, 2024
- Categories: Ruby, Rails

Upgrade Ruby using dual boot

### Simplifying code with standardized pagination, sorting, and search

[Simplifying code with standardized pagination, sorting, and search](https://www.bigbinary.com/blog/standardize-pagination-keywords)

- Author: Abilash Sajeev
- Published: August 27, 2024
- Categories: ReactJS, Rails

Explore the power of standardized naming practices in creating a unified and
scalable codebase.

### Rails 7.2 brings SQL queries count to template rendering logs

[Rails 7.2 brings SQL queries count to template rendering logs](https://www.bigbinary.com/blog/rails-8-adds-sql-queries-count-to-template-rendering-logs)

- Author: Navaneeth D
- Published: August 20, 2024
- Categories: Rails, Rails 7.2

Rails 7.2 simplifies debugging database queries by adding query count
information to the application logs.

### Rails 8 introduces a basic authentication generator

[Rails 8 introduces a basic authentication generator](https://www.bigbinary.com/blog/rails-8-introduces-a-basic-authentication-generator)

- Author: Jaimy Simon
- Published: August 9, 2024
- Categories: Rails, Rails 8

Rails 8.0 adds a generator that streamlines the process of adding basic
authentication to Rails applications

### Building custom extensions in Tiptap

[Building custom extensions in Tiptap](https://www.bigbinary.com/blog/building-custom-extensions-in-tiptap)

- Author: Gaagul C Gigi
- Published: August 6, 2024
- Categories: React, JavaScript

A comprehensive guide on building custom extensions in Tiptap.

### Exploring management of templates across Neeto products using neeto-templates-nano

[Exploring management of templates across Neeto products using neeto-templates-nano](https://www.bigbinary.com/blog/how-build-neeto-templates-nano)

- Author: Sooraj Bhaskaran
- Published: July 30, 2024
- Categories: Rails, React

A deep dive into the architecture and implementation of neeto-templates-nano, a
highly customizable and extensible template builder for neeto.

### Configuring the Kubernetes Horizontal Pod Autoscaler to scale based on custom metrics from Prometheus

[Configuring the Kubernetes Horizontal Pod Autoscaler to scale based on custom metrics from Prometheus](https://www.bigbinary.com/blog/prometheus-adapter)

- Author: Sreeram Venkitesh
- Published: July 23, 2024
- Categories: Kubernetes, Devops

How we built autoscaling based on custom Prometheus metrics for NeetoDeploy

### Rails 7.2 makes counter_cache integration safer and easier

[Rails 7.2 makes counter_cache integration safer and easier](https://www.bigbinary.com/blog/rails-8-adds-ability-to-ignore-counter_cache-column-while-backfilling)

- Author: Navaneeth D
- Published: July 16, 2024
- Categories: Rails, Rails 7.2

Rails 7.2 adds ability to ignore counter_cache column whilst the data is getting
backfilled

### How we fixed app downtime issue in NeetoDeploy

[How we fixed app downtime issue in NeetoDeploy](https://www.bigbinary.com/blog/how-we-fixed-app-down-time-in-neeto-deploy)

- Author: Abhishek T
- Published: July 9, 2024
- Categories: NeetoDeploy, Kubernetes, DevOps

How we fixed app downtime issue in NeetoDeploy

### Widget state synchronisation across tabs

[Widget state synchronisation across tabs](https://www.bigbinary.com/blog/widget-synchronisation)

- Author: Labeeb Latheef
- Published: July 2, 2024
- Categories: React, JavaScript

How we implemented widget state synchronisation in NeetoChat widget.

### How we build, release and maintain frontend packages

[How we build, release and maintain frontend packages](https://www.bigbinary.com/blog/build-release-frontend-packages)

- Author: Farhan CK
- Published: June 11, 2024
- Categories: JavaScript, ReactJS, npm

How we build, release and maintain frontend packages

### How we fixed the Cypress "Out of memory" error for Chromium browsers

[How we fixed the Cypress "Out of memory" error for Chromium browsers](https://www.bigbinary.com/blog/how-we-fixed-the-cypress-out-of-memory-error-in-chromium-browsers)

- Author: S Varun
- Published: May 21, 2024
- Categories: Cypress

How we solved the Cypress “Out of memory” error for Chromium browsers

### Grafana Loki and Kubernetes Event exporter

[Grafana Loki and Kubernetes Event exporter](https://www.bigbinary.com/blog/k8s-event-exporter-and-grafana-loki-integration)

- Author: Vishal Yadav
- Published: May 7, 2024
- Categories: NeetoCI, Prometheus, Grafana, Kubernetes

In this blog, we'll explore how to integrate the Kubernetes Event exporter &
Grafana Loki into your Kubernetes Cluster using a helm chart.

### Automatically sentence-case i18next translations

[Automatically sentence-case i18next translations](https://www.bigbinary.com/blog/lowercase-translations)

- Author: Farhan CK
- Published: April 9, 2024
- Categories: JavaScript, ReactJS

Automatically sentence-case i18next translations

### Implementation of a universal timer

[Implementation of a universal timer](https://www.bigbinary.com/blog/universal-timer)

- Author: Labeeb Latheef
- Published: March 26, 2024
- Categories: JavaScript, ReactJS

Control multiple UI components with a single timer.

### Universal playback and streaming support using MP4 and Range request headers

[Universal playback and streaming support using MP4 and Range request headers](https://www.bigbinary.com/blog/mp4_transmuxing_and_streaming_support-loom-alternative-part-3)

- Author: Unnikrishnan KP
- Published: March 17, 2024
- Categories: NeetoRecord, web-apis

How to convert WEBM video generated by the browser efficiently to MP4 and
provide streaming support

### Efficient uploading and persistent storage of NeetoRecord videos using AWS S3

[Efficient uploading and persistent storage of NeetoRecord videos using AWS S3](https://www.bigbinary.com/blog/persistant-storage-for-recordings-in-s3-loom-alternative-part-2)

- Author: Unnikrishnan KP
- Published: March 16, 2024
- Categories: NeetoRecord, s3

How to split a large recording file into parts and uploaded them independently
to AWS S3 for persistent storage

### Building a web-based screen recorder

[Building a web-based screen recorder](https://www.bigbinary.com/blog/build-web-based-screen-recorder-loom-alternative-part-1)

- Author: Unnikrishnan KP
- Published: March 15, 2024
- Categories: NeetoRecord, web-apis

Building a web based screen recorder using browser's MediaStream Recording API

### Automating Case Conversion in Axios for Seamless Frontend-Backend Integration

[Automating Case Conversion in Axios for Seamless Frontend-Backend Integration](https://www.bigbinary.com/blog/axios-case-conversion)

- Author: Ajmal Noushad
- Published: March 12, 2024
- Categories: neeto, React, Javascript

Learn why we decided to automatically case convert request and response data and
how we did it.

### 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

### Streamlining translation resource loading in React apps with babel-plugin-preval

[Streamlining translation resource loading in React apps with babel-plugin-preval](https://www.bigbinary.com/blog/simplifying-loading-translation-resources-using-babel-plugin-preval)

- Author: Mohit Harshan
- Published: February 27, 2024
- Categories: React.js

Streamlining translation resource loading in React apps with babel-plugin-preval

### Introducing neetoUI v6

[Introducing neetoUI v6](https://www.bigbinary.com/blog/introducing-neeto-ui-v6)

- Author: Goutham Subramanyam
- Published: February 22, 2024
- Categories: UI

Let's explore the exciting features and enhancements of neetoUI v6.

### Debugging memory issues in ReactJS applications

[Debugging memory issues in ReactJS applications](https://www.bigbinary.com/blog/debugging-memory-issues-in-react-applications)

- Author: Calvin Chiramal
- Published: February 20, 2024
- Categories: ReactJS

Debugging memory issues in ReactJS applications

### Rails 8 introduces a built-in rate limiting API

[Rails 8 introduces a built-in rate limiting API](https://www.bigbinary.com/blog/rails-8-rate-limiting-api)

- Author: Yedhin Kizhakkethara
- Published: February 13, 2024
- Categories: Rails, Rails 8

Rails 8.0 adds rate limiting to ActionController which uses Active Support cache
by default

### Embracing Type Definitions and JSDoc Comments in JS packages

[Embracing Type Definitions and JSDoc Comments in JS packages](https://www.bigbinary.com/blog/jsdoc-generation)

- Author: Ajmal Noushad
- Published: February 8, 2024
- Categories: Javascript

Read why we added Type Definitions and JSDoc Comments to our packages.

### Using globalProps to make it easier to share data in React.js applications

[Using globalProps to make it easier to share data in React.js applications](https://www.bigbinary.com/blog/global-props)

- Author: Deepak Jose
- Published: February 6, 2024
- Categories: React, Rails

Using globalProps to make it easier to share data in React.js applications

### Tackling Flaky Tests With Cypress and Playwright through Network Synchronization

[Tackling Flaky Tests With Cypress and Playwright through Network Synchronization](https://www.bigbinary.com/blog/tackling-flaky-tests-in-cypress-and-playwright)

- Author: Shreya Kurian
- Published: January 31, 2024
- Categories: Cypress, Playwright

Tackling Flaky Tests With Cypress and Playwright through Network Synchronization

### Bundle Splitting

[Bundle Splitting](https://www.bigbinary.com/blog/bundle-splitting)

- Author: Labeeb Latheef
- Published: January 30, 2024
- Categories: JavaScript

Optimize JavaScript assets loading.

### Setting up Prometheus and Grafana on Kubernetes using Helm

[Setting up Prometheus and Grafana on Kubernetes using Helm](https://www.bigbinary.com/blog/prometheus-and-grafana-integration)

- Author: Vishal Yadav
- Published: January 25, 2024
- Categories: NeetoCI, Kubernetes

Setting up Prometheus and Grafana on Kubernetes using Helm

### 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

### How we added sleep when idle feature to NeetoDeploy and reduced cost

[How we added sleep when idle feature to NeetoDeploy and reduced cost](https://www.bigbinary.com/blog/cost-reduction-in-neeto-deploy-by-turning-off-inactive-apps)

- Author: Sreeram Venkitesh
- Published: January 19, 2024
- Categories: NeetoDeploy, Kubernetes, Devops

How we added sleep when idle feature to NeetoDeploy and reduced cost

### Rails 7.1 allows subscribing to Active Record transaction events for instrumentation

[Rails 7.1 allows subscribing to Active Record transaction events for instrumentation](https://www.bigbinary.com/blog/rails-7-1-allows-subscribing-to-active-record-transaction-events)

- Author: Vishnu M
- Published: January 16, 2024
- Categories: Rails, Rails 7

Rails 7.1 allows subscribing to Active Record transaction events for
instrumentation.

### Building the metrics dashboard in NeetoDeploy with Prometheus

[Building the metrics dashboard in NeetoDeploy with Prometheus](https://www.bigbinary.com/blog/using-prometheus-in-neeto-deploy)

- Author: Sreeram Venkitesh
- Published: January 9, 2024
- Categories: NeetoDeploy, Kubernetes, DevOps

Building the metrics dashboard in NeetoDeploy with Prometheus

### Upgrading React state management with zustand

[Upgrading React state management with zustand](https://www.bigbinary.com/blog/upgrading-react-state-management-with-zustand)

- Author: Mohit Harshan
- Published: January 2, 2024
- Categories: React

A blog on zustand integration and performance enhancements

### Building NeetoDeploy CLI

[Building NeetoDeploy CLI](https://www.bigbinary.com/blog/building-neeto-deploy-cli)

- Author: Sreeram Venkitesh
- Published: December 26, 2023
- Categories: NeetoDeploy

How we built the CLI for NeetoDeploy

### Using Cloudflare as CDN for Rails applications

[Using Cloudflare as CDN for Rails applications](https://www.bigbinary.com/blog/using-cloudflare-as-cdn-for-rails-applications)

- Author: Abhijith Sheheer
- Published: December 19, 2023
- Categories: Cloudflare, Rails

How we used Cloudflare to cache assets for Rails applications to improve website
performance

### Honeybadger frontend integration in Neeto apps

[Honeybadger frontend integration in Neeto apps](https://www.bigbinary.com/blog/honeybadger-frontend-integration-in-neeto-apps)

- Author: Calvin Chiramal
- Published: December 12, 2023
- Categories: Misc

Honeybadger frontend integration in web apps

### Using TableWrapper to avoid dynamic height calculations

[Using TableWrapper to avoid dynamic height calculations](https://www.bigbinary.com/blog/using-tablewrapper-to-avoid-dynamic-height-calculation)

- Author: Philson Philip
- Published: December 7, 2023
- Categories: UI

Using TableWrapper to avoid dynamic height calculations

### Serving assets and images in Next.js from a CDN without Vercel

[Serving assets and images in Next.js from a CDN without Vercel](https://www.bigbinary.com/blog/serving-nextjs-assets-images-cdn)

- Author: Akash Srivastava
- Published: November 28, 2023
- Categories: Next.js

Serve assets and public images in Next.js app from a CDN without deploying on
Vercel

### Perfecting mobile responsiveness on NeetoSite using RFS

[Perfecting mobile responsiveness on NeetoSite using RFS](https://www.bigbinary.com/blog/perfecting-mobile-responsiveness-on-neetosite-using-rfs)

- Author: Praveen Murali
- Published: November 23, 2023
- Categories: UI

Perfecting mobile responsiveness on NeetoSite using RFS

### Deep Dive into Redis Data Types

[Deep Dive into Redis Data Types](https://www.bigbinary.com/blog/redis-data-types-deep-dive)

- Author: Sreeram Venkitesh
- Published: November 14, 2023
- Categories: Misc

Deep Dive into Redis Data Types

### Rails 7.1 adds new option path_params for url_for helper method

[Rails 7.1 adds new option path_params for url_for helper method](https://www.bigbinary.com/blog/url-for-path-params-options)

- Author: Neenu Chacko
- Published: November 7, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds new option path_params for url_for helper method

### Rails 7.1 comes with an optimized default SQLite3 adapter connection configuration

[Rails 7.1 comes with an optimized default SQLite3 adapter connection configuration](https://www.bigbinary.com/blog/rails-7-1-comes-with-an-optimized-default-sqlite3-adapter-connection-configuration)

- Author: Vishnu M
- Published: October 31, 2023
- Categories: Rails, Rails 7

Rails 7.1 comes with an optimized default SQLite3 adapter connection
configuration

### Profiling your zsh setup with zprof

[Profiling your zsh setup with zprof](https://www.bigbinary.com/blog/zsh-profiling)

- Author: Sreeram Venkitesh
- Published: October 12, 2023
- Categories: Misc

Profiling your zsh setup with zprof

### Optimizing NeetoDeploy's Cluster Autoscaler

[Optimizing NeetoDeploy's Cluster Autoscaler](https://www.bigbinary.com/blog/optimizing-neeto-deploy-autoscaler)

- Author: Sreeram Venkitesh
- Published: October 10, 2023
- Categories: NeetoDeploy

Optimizing NeetoDeploy's Cluster Autoscaler using overprovisioning deployments.

### Rails 7.1 adds support for multi-column ordering in ActiveRecord::Batches

[Rails 7.1 adds support for multi-column ordering in ActiveRecord::Batches](https://www.bigbinary.com/blog/rails-7-1-adds-support-for-multi-column-ordering-in-activerecord-batches)

- Author: Navaneeth D
- Published: October 3, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds support for multi-column ordering in ActiveRecord::Batches.

### Rails 7.1 adds \*\_deliver callbacks to Action Mailer

[Rails 7.1 adds \*\_deliver callbacks to Action Mailer](https://www.bigbinary.com/blog/rails-7-1-adds-_-deliver-callbacks-to-action-mailer)

- Author: Calvin Chiramal
- Published: September 26, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds \*\_deliver callbacks to Action Mailer

### Handling domain redirection while maintaining different google crawl attributes using Cloudflare

[Handling domain redirection while maintaining different google crawl attributes using Cloudflare](https://www.bigbinary.com/blog/domain-redirection-using-cloudflare)

- Author: Ghouse Mohamed
- Published: August 31, 2023
- Categories: Misc

Handling domain redirection while maintaining different google crawl attributes
using Cloudflare

### Solving scaling challenges in NeetoDeploy using Cluster Autoscaler

[Solving scaling challenges in NeetoDeploy using Cluster Autoscaler](https://www.bigbinary.com/blog/solving-scalability-in-neeto-deploy)

- Author: Sreeram Venkitesh
- Published: August 29, 2023
- Categories: NeetoDeploy

At NeetoDeploy we solved the scaling problem using Cluster Autoscaler

### Why did we build a custom ESLint plugin?

[Why did we build a custom ESLint plugin?](https://www.bigbinary.com/blog/eslint-plugin-neeto)

- Author: Amaljith K
- Published: August 22, 2023
- Categories: JavaScript

The story behind eslint-plugin-neeto

### Understanding the automatic minimum size of flex items

[Understanding the automatic minimum size of flex items](https://www.bigbinary.com/blog/understanding-the-automatic-minimum-size-of-flex-items)

- Author: Praveen Murali
- Published: August 17, 2023
- Categories: UI

Understanding the automatic minimum size of flex items

### Upgrading to TLS 1.2 using Cloudflare

[Upgrading to TLS 1.2 using Cloudflare](https://www.bigbinary.com/blog/upgrading-tls-using-cloudflare)

- Author: Ghouse Mohamed
- Published: August 3, 2023
- Categories: Misc

Upgrading to TLS 1.2 using Cloudflare

### Continuous backup of PostgreSQL in NeetoDeploy

[Continuous backup of PostgreSQL in NeetoDeploy](https://www.bigbinary.com/blog/postgresql-continuos-rollback-feature)

- Author: Abhishek T
- Published: August 1, 2023
- Categories: NeetoDeploy

Continuous backup of PostgreSQL in NeetoDeploy

### React localization with i18next and react-i18next libraries

[React localization with i18next and react-i18next libraries](https://www.bigbinary.com/blog/react-localization)

- Author: Joseph Mathew
- Published: July 27, 2023
- Categories: ReactJS

Learn how to implement localization in your React applications using the i18next
and react-i18next libraries.

### Enhance code quality and performance with ESLint

[Enhance code quality and performance with ESLint](https://www.bigbinary.com/blog/enhance-code-quality-and-performance-with-eslint)

- Author: Krishnapriya S
- Published: July 25, 2023
- Categories: JavaScript

Explains what ESLint is, how to build custom rules and plugins, and other
terminologies associated with it.

### Accidentally deleting all staging applications and building automatic database backup

[Accidentally deleting all staging applications and building automatic database backup](https://www.bigbinary.com/blog/routine-db-exports-neetodeploy)

- Author: Subin Siby
- Published: July 14, 2023
- Categories: Misc

Why and how we built routine DB exports

### Challenges faced while building Neeto commons frontend

[Challenges faced while building Neeto commons frontend](https://www.bigbinary.com/blog/neeto-commons-frontend)

- Author: Amaljith K
- Published: July 11, 2023
- Categories: JavaScript, ReactJS

Challenges faced while building Neeto commons frontend

### Rails 7.1 enables detailed query plan analysis with options in ActiveRecord::Relation#explain

[Rails 7.1 enables detailed query plan analysis with options in ActiveRecord::Relation#explain](https://www.bigbinary.com/blog/rails-7-1-adds-options-to-activerecord-relation-explain)

- Author: Vishnu M
- Published: July 4, 2023
- Categories: Rails, Rails 7

Rails 7.1 enables detailed query plan analysis with options in
ActiveRecord::Relation#explain.

### How We standardized keyboard shortcuts in neeto

[How We standardized keyboard shortcuts in neeto](https://www.bigbinary.com/blog/how-we-standardized-keyboard-shortcuts)

- Author: Adil Ismail
- Published: June 27, 2023
- Categories: ReactJS

How we standardized keyboard shortcuts in neeto

### Using enable-load-relative flag in building Ruby binaries

[Using enable-load-relative flag in building Ruby binaries](https://www.bigbinary.com/blog/use-of-enable-load-relative-flag-in-building-ruby-binaries)

- Author: Vishal Yadav
- Published: June 20, 2023
- Categories: NeetoCI, Ruby

Using enable-load-relative flag in building Ruby binaries

### React performance optimization - memoization demystified

[React performance optimization - memoization demystified](https://www.bigbinary.com/blog/react-performance-optimization-memoization-demystified)

- Author: Abhay V Ashokan
- Published: June 13, 2023
- Categories: ReactJS

Learn how to optimize the performance of React applications using memoization
techniques.

### NeetoDeploy: Zero to One

[NeetoDeploy: Zero to One](https://www.bigbinary.com/blog/neeto-deploy-zero-to-one)

- Author: Unnikrishnan KP
- Published: June 8, 2023
- Categories: NeetoDeploy

How we built the first version of NeetoDeploy from scratch

### Extending pure utility functions of Ramda.js

[Extending pure utility functions of Ramda.js](https://www.bigbinary.com/blog/extending-pure-utility-functions-of-ramda)

- Author: Neenu Chacko
- Published: May 30, 2023
- Categories: JavaScript

Why and how we built custom pure JavaScript utility functions to extend Ramda.js

### Improving the application performance by harnessing the full potential of ancestry gem

[Improving the application performance by harnessing the full potential of ancestry gem](https://www.bigbinary.com/blog/how-neetoTestify-improved-test-suites-performance-utilizing-ancestry-gem)

- Author: Shemin Anto
- Published: May 23, 2023
- Categories: NeetoTestify, Ruby

How NeetoTestify improved test suites performance by utilizing Ancestry Gem,
including migration to materialized_path2, adding collation, and optimizing tree
structure creation with the "arrange" method.

### Rails 7.1 adds ActiveRecord::Base::normalizes

[Rails 7.1 adds ActiveRecord::Base::normalizes](https://www.bigbinary.com/blog/rails-7-1-adds-activerecord-base-normalizes)

- Author: Abhijith Sheheer
- Published: May 9, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds ActiveRecord::Base::normalizes.

### How SPF protects domain reputation and helps in email deliverability

[How SPF protects domain reputation and helps in email deliverability](https://www.bigbinary.com/blog/how-spf-protects-domain-reputation)

- Author: Neeraj Singh
- Published: April 26, 2023
- Categories: Misc

How SPF protects domain reputation and helps in email deliverability

### Rails 7.1 adds support for logging background job enqueue callers

[Rails 7.1 adds support for logging background job enqueue callers](https://www.bigbinary.com/blog/rails-7-1-adds-support-for-logging-background-job-enqueue-callers)

- Author: Vishnu M
- Published: April 18, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds support for logging background job enqueue callers.

### React Query to simplify data fetching in Neeto

[React Query to simplify data fetching in Neeto](https://www.bigbinary.com/blog/react-query)

- Author: Mohit Harshan
- Published: April 10, 2023
- Categories: ReactJS

React Query integration in react applications

### Redirecting URL using cloudflare redirect rules

[Redirecting URL using cloudflare redirect rules](https://www.bigbinary.com/blog/redirecting-url-using-cloudflare)

- Author: Neeraj Singh
- Published: March 14, 2023
- Categories: Misc

Redirecting url using cloudflar redirect rules

### Running React Native dependent animations on UI thread using Reanimated

[Running React Native dependent animations on UI thread using Reanimated](https://www.bigbinary.com/blog/running-react-native-dependent-animations-on-ui-thread-using-reanimated)

- Author: Sangamesh Somawar
- Published: March 13, 2023
- Categories: React Native

Learn how to run dependent animations on the UI thread to optimize and improve
the performance with React Native Reanimated library

### How to use JWT to secure your GitHub OAuth callback endpoint

[How to use JWT to secure your GitHub OAuth callback endpoint](https://www.bigbinary.com/blog/how-to-use-jwt-to-secure-your-github-oauth-callback-endpoint)

- Author: Jagannath Bhat
- Published: March 7, 2023
- Categories: Misc

Sending data to OAuth servers using JWT enables applications to verify the
authenticity of the data that is sent back to the callback endpoint.

### Rails 7.1 adds ActiveJob.perform_all_later

[Rails 7.1 adds ActiveJob.perform_all_later](https://www.bigbinary.com/blog/rails-7-1-adds-activejob-perform-all-later)

- Author: Vishnu M
- Published: February 28, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds ActiveJob.perform_all_later to enqueue multiple jobs at once.

### Rails 7.1 adds adapter option to disallow foreign keys

[Rails 7.1 adds adapter option to disallow foreign keys](https://www.bigbinary.com/blog/rails-7-1-adds-adapter-option-to-disallow-foregin-keys)

- Author: Aditya Bhutani
- Published: February 21, 2023
- Categories: Rails, Rails 7

Rails 7.1 adds adapter option to disallow foreign keys

### Rails 7.1 allows using aliased attributes with insert_all/upsert_all

[Rails 7.1 allows using aliased attributes with insert_all/upsert_all](https://www.bigbinary.com/blog/rails-7-1-allows-using-aliased-attributes-with-insert_all-upsert_all)

- Author: Aditya Bhutani
- Published: January 11, 2023
- Categories: Rails, Rails 7

Rails 7.1 allows using aliased attributes with insert_all/upsert_all

### How to detect changes in component visibility when scrolling?

[How to detect changes in component visibility when scrolling?](https://www.bigbinary.com/blog/how-to-detect-changes-in-component-visibility-when-scrolling)

- Author: Amaljith K
- Published: September 27, 2022
- Categories: JavaScript

Learn how to detect an element being scrolled into and scrolled out of the
parent element's visible area in React using IntersectionObserver.

### Setting up Heroku DNS using cloudflare

[Setting up Heroku DNS using cloudflare](https://www.bigbinary.com/blog/setting-up-heroku-dns-using-clouflare)

- Author: Neeraj Singh
- Published: September 26, 2022
- Categories: Misc

Setting up Heroku DNS using cloudlfare

### How we upgraded from Rails 6 to Rails 7

[How we upgraded from Rails 6 to Rails 7](https://www.bigbinary.com/blog/how-we-upgraded-from-rails-6-to-rails-7)

- Author: Abhishek T
- Published: September 20, 2022
- Categories: Rails, Rails 7

How we upgraded from Rails 6 to Rails 7

### Three case studies of debugging redis running out of memory

[Three case studies of debugging redis running out of memory](https://www.bigbinary.com/blog/debugging-redis-memory-issue)

- Author: Unnikrishnan KP
- Published: September 12, 2022
- Categories: Ruby, Rails

Three case studies of debugging redis running out of memory

### How my server got infected with a crypto mining malware and how I fixed it

[How my server got infected with a crypto mining malware and how I fixed it](https://www.bigbinary.com/blog/how-my-server-got-infected-with-a-crypto-mining-malware-and-how-I-fixed-it)

- Author: Sreeram Venkitesh
- Published: September 6, 2022
- Categories: DevOps

How my server got infected with a crypto mining malware and how I fixed it

### Rails 7.1 allows infinite ranges for LengthValidators and Clusivity validators

[Rails 7.1 allows infinite ranges for LengthValidators and Clusivity validators](https://www.bigbinary.com/blog/rails-7-adds-endless-ranges-for-activemodel-validations)

- Author: Ghouse Mohamed
- Published: August 30, 2022
- Categories: Rails, Rails 7

Rails 7.1 allows infinite ranges for LengthValidators and Clusivity validators

### Rails 7.1 raises RuntimeError if Active Storage service is not specified

[Rails 7.1 raises RuntimeError if Active Storage service is not specified](https://www.bigbinary.com/blog/rails-7-1-raises-error-if-active-storage-service-not-specified)

- Author: Ghouse Mohamed
- Published: August 23, 2022
- Categories: Rails, Rails 7

Rails 7.1 raises RuntimeError if Active Storage service is not specified

### Rails 7.1 adds callbacks for Action Cable commands at the connection level

[Rails 7.1 adds callbacks for Action Cable commands at the connection level](https://www.bigbinary.com/blog/rails-7-1-adds-callbacks-for-action-cable-connection)

- Author: Ghouse Mohamed
- Published: August 2, 2022
- Categories: Rails, Rails 7

Rails 7.1 adds callbacks for Action Cable commands at the connection level

### How to remove the white screen just before the splash screen in Android

[How to remove the white screen just before the splash screen in Android](https://www.bigbinary.com/blog/adding-splash-screen-in-react-native-cli-app)

- Author: Kamolesh Mondal
- Published: July 28, 2022
- Categories: React Native

A walk-through on the correct way to add a splash screen to a react-native cli
application.

### Rails 7.1 allows audio_tag and video_tag to receive Active Storage attachments

[Rails 7.1 allows audio_tag and video_tag to receive Active Storage attachments](https://www.bigbinary.com/blog/rails-7-extends-support-for-audio-tag-and-video-tag)

- Author: Ghouse Mohamed
- Published: July 27, 2022
- Categories: Rails, Rails 7

Rails 7.1 allows audio_tag and video_tag to receive Active Storage attachments

### Rails 7.1 returns the Active Storage attachment(s) after saving the attachment

[Rails 7.1 returns the Active Storage attachment(s) after saving the attachment](https://www.bigbinary.com/blog/rails-7-returns-active-storage-blob-after-save)

- Author: Ghouse Mohamed
- Published: July 26, 2022
- Categories: Rails, Rails 7

Rails 7.1 returns the Active Storage attachment(s) after saving the attachment

### Handling SIGHUP error from Heroku

[Handling SIGHUP error from Heroku](https://www.bigbinary.com/blog/fix-sighup-error-from-heroku)

- Author: Unnikrishnan KP
- Published: April 4, 2022
- Categories: Rails

Handling SIGHUP error from Heroku

### Configure cypress to run tests in multiple environments

[Configure cypress to run tests in multiple environments](https://www.bigbinary.com/blog/cypress-environment-config)

- Author: Datt Dongare
- Published: March 30, 2022
- Categories: Misc

Do you want to configure cypress to run the tests in multiple application
environments? This article will help you to configure them step-by-step.

### Rails 7 adds only_numeric option to numericality validator

[Rails 7 adds only_numeric option to numericality validator](https://www.bigbinary.com/blog/rails-7-adds-only_numeric-option-to-numericality-validator)

- Author: Aditya Bhutani
- Published: January 17, 2022
- Categories: Rails, Rails 7

Rails 7 adds only_numeric option to numericality validator

### Ruby 3.1 adds Class#subclasses

[Ruby 3.1 adds Class#subclasses](https://www.bigbinary.com/blog/ruby-3-1-adds-class-subclasses)

- Author: Ashik Salman
- Published: December 27, 2021
- Categories: Ruby 3.1, Ruby

Ruby 3.1 adds Class#subclasses

### Generating an image from an element and copying it to the clipboard using JavaScript

[Generating an image from an element and copying it to the clipboard using JavaScript](https://www.bigbinary.com/blog/copy-generated-image-clipboard-javascript)

- Author: Rishi Mohan
- Published: December 22, 2021
- Categories: JavaScript

Learn how to generate an image from an element and copy it to the clipboard
using native browser APIs that work in Safari and Chrome

### Rails 7 adds Pathname#existence

[Rails 7 adds Pathname#existence](https://www.bigbinary.com/blog/rails-7-adds-pathname-existence)

- Author: Ashik Salman
- Published: December 7, 2021
- Categories: Rails, Rails 7

Rails 7 adds Pathname#existence

### Fix slow page loads in a Ruby on Rails application by identifying n+1 queries

[Fix slow page loads in a Ruby on Rails application by identifying n+1 queries](https://www.bigbinary.com/blog/fix-slow-page-loads-in-a-ruby-on-rails-application)

- Author: Unnikrishnan KP
- Published: December 1, 2021
- Categories: Rails

Fix slow page loads in a Ruby on Rails application by identifying n+1 queries

### Rails 7 adds accepts_nested_attributes_for support for delegated_type

[Rails 7 adds accepts_nested_attributes_for support for delegated_type](https://www.bigbinary.com/blog/rails-7-adds-accepts-nested-attributes-for-support-for-delegated_type)

- Author: Ashik Salman
- Published: November 23, 2021
- Categories: Rails, Rails 7

Rails 7 adds accepts_nested_attributes_for support for delegated_type

### Rails 7 Adds from option to ActiveSupport::TestCase#assert_no_changes

[Rails 7 Adds from option to ActiveSupport::TestCase#assert_no_changes](https://www.bigbinary.com/blog/rails-7-adds-from-option-to-assert_no_changes)

- Author: Gaurav Varma
- Published: November 19, 2021
- Categories: Rails, Rails 7

Rails 7 Adds from option to ActiveSupport::TestCase#assert_no_changes

### Rails 7 adds ActiveRecord::Base#previously_persisted?

[Rails 7 adds ActiveRecord::Base#previously_persisted?](https://www.bigbinary.com/blog/rails-7-adds-activerecord-previously_persisted)

- Author: Gaurav Varma
- Published: November 9, 2021
- Categories: Rails, Rails 7

Rails 7 adds ActiveRecord::Base#previously_persisted?

### Rails 7 adds weekday_options_for_select and weekday_select

[Rails 7 adds weekday_options_for_select and weekday_select](https://www.bigbinary.com/blog/rails-7-adds-weekday_options_for_select-and-weekday_select)

- Author: Gaurav Varma
- Published: November 9, 2021
- Categories: Rails, Rails 7

Rails 7 adds weekday_options_for_select and weekday_select

### Rails 7 replaced byebug with ruby/debug

[Rails 7 replaced byebug with ruby/debug](https://www.bigbinary.com/blog/rails-7-replaced-byebug-with-ruby-debug)

- Author: Gaurav Varma
- Published: November 9, 2021
- Categories: Rails, Rails 7

Rails 7 replaced byebug with ruby/debug

### Ruby 3.1 adds MatchData#match & MatchData#match_length

[Ruby 3.1 adds MatchData#match & MatchData#match_length](https://www.bigbinary.com/blog/ruby-3-1-adds-match-data-methods)

- Author: Ashik Salman
- Published: November 9, 2021
- Categories: Ruby 3.1, Ruby

Ruby 3.1 adds MatchData#match & MatchData#match_length

### Rails 7 adds ActiveRecord::QueryMethods#in_order_of

[Rails 7 adds ActiveRecord::QueryMethods#in_order_of](https://www.bigbinary.com/blog/rails-7-adds-activerecord-query-methods-in-order-of)

- Author: Ashik Salman
- Published: November 2, 2021
- Categories: Rails, Rails 7

Ruby 7.0 adds ActiveRecord::QueryMethods#in_order_of

### Rails 7 adds disable_joins for associations

[Rails 7 adds disable_joins for associations](https://www.bigbinary.com/blog/rails-7-adds-disable-joins-for-associations)

- Author: Ashik Salman
- Published: October 26, 2021
- Categories: Rails, Rails 7

Ruby 7.0 adds disable_joins for associations

### Rails 7 adds the ability to use pre-defined variants

[Rails 7 adds the ability to use pre-defined variants](https://www.bigbinary.com/blog/rails-7-adds-ability-to-use-predefined-variants)

- Author: Gaurav Varma
- Published: October 19, 2021
- Categories: Rails, Rails 7

Rails 7 adds the ability to use pre-defined variants

### Rails 7 adds setting for enumerating columns in select statements

[Rails 7 adds setting for enumerating columns in select statements](https://www.bigbinary.com/blog/rails-7-adds-setting-for-enumerating-columns-in-select-statements)

- Author: Ashik Salman
- Published: October 13, 2021
- Categories: Rails, Rails 7

Ruby 7.0 adds setting for enumerating columns in select statements

### Reducing memory bloat of a Ruby on Rails application

[Reducing memory bloat of a Ruby on Rails application](https://www.bigbinary.com/blog/reducing-memory-bloat-in-a-ruby-on-rails-application)

- Author: Unnikrishnan KP
- Published: October 12, 2021
- Categories: Rails

Reducing the memory bloat of a Ruby on Rails application

### Rails 7 adds ComparisonValidator to ActiveRecord

[Rails 7 adds ComparisonValidator to ActiveRecord](https://www.bigbinary.com/blog/rails-7-adds-comparison-validator-to-active-record)

- Author: Gaurav Varma
- Published: October 5, 2021
- Categories: Rails, Rails 7

Ruby 7.0 adds ComparisonValidator to ActiveRecord

### Rails 7 adds ActiveRecord::Relation#structurally_compatible?

[Rails 7 adds ActiveRecord::Relation#structurally_compatible?](https://www.bigbinary.com/blog/rails-7-adds-active-record-relation-structurally-compatible)

- Author: Gaurav Varma
- Published: September 15, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds ActiveRecord::Relation#structurally_compatible?

### Playing videos in React Native

[Playing videos in React Native](https://www.bigbinary.com/blog/playing-videos-in-react-native-using-cloudinary)

- Author: Chirag Bhaiji
- Published: September 14, 2021
- Categories: React Native

Playing videos in React Native

### React 18 introduces Automatic Batching

[React 18 introduces Automatic Batching](https://www.bigbinary.com/blog/react-18-introduces-automatic-batching)

- Author: Taha Husain
- Published: July 9, 2021
- Categories: ReactJS

React 18 introduces Automatic Batching

### Rails 7 deprecates Enumerable#sum and Array#sum

[Rails 7 deprecates Enumerable#sum and Array#sum](https://www.bigbinary.com/blog/rails-7-deprecates-enumerable-sum-and-array-sum)

- Author: Aashish Saini
- Published: June 22, 2021
- Categories: Rails, Rails 7

Rails 7 deprecates Enumerable#sum and Array#sum

### Rails 7 adds method calls for nested secrets

[Rails 7 adds method calls for nested secrets](https://www.bigbinary.com/blog/rails-7-adds-method-calls-for-nested-secrets)

- Author: Ashik Salman
- Published: June 9, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds method calls for nested secrets

### Using Cookies with Postgraphile

[Using Cookies with Postgraphile](https://www.bigbinary.com/blog/cookies-with-postgraphile)

- Author: Agney Menon
- Published: June 1, 2021
- Categories: Misc

Tutorial on reading and setting cookies on Postgraphile

### Debug Node.js app running in a Docker container

[Debug Node.js app running in a Docker container](https://www.bigbinary.com/blog/debug-nodejs-app-running-in-a-docker-container)

- Author: Preveen Raj
- Published: May 25, 2021
- Categories: JavaScript

By using the Docker VSCode extension and VSCode-debug launch configuration,
debugging the node.js app in docker can be achieved.

### Failing Gracefully: Error Boundaries in React

[Failing Gracefully: Error Boundaries in React](https://www.bigbinary.com/blog/error-boundaries-in-react)

- Author: Dane David
- Published: May 18, 2021
- Categories: ReactJS

Failing Gracefully: Error Boundaries in React

### Helping Babel move to ES Modules

[Helping Babel move to ES Modules](https://www.bigbinary.com/blog/helping-babel-move-to-esm)

- Author: Karan Sapolia Sharma
- Published: May 18, 2021
- Categories: JavaScript

Migrating from CommonJS to ESM in babel internals and the challenges faced

### Ruby 3.1 adds Array#intersect?

[Ruby 3.1 adds Array#intersect?](https://www.bigbinary.com/blog/ruby-3-1-adds-array-intersect)

- Author: Ashik Salman
- Published: May 11, 2021
- Categories: Ruby 3.1, Ruby

Ruby 3.1 adds Array#intersect?

### Rails 6.1 adds invert_where method

[Rails 6.1 adds invert_where method](https://www.bigbinary.com/blog/rails-6-1-adds-invert_where)

- Author: Chimed Palden
- Published: May 4, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds invert_where method

### Rails 7.0 adds encryption to Active Record models

[Rails 7.0 adds encryption to Active Record models](https://www.bigbinary.com/blog/rails-7-adds-encryption-to-active-record)

- Author: Akhil Gautam
- Published: May 4, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds encryption to Active Record models

### Handling environment specific configurations in React Native

[Handling environment specific configurations in React Native](https://www.bigbinary.com/blog/handling-environment-specific-configurations-in-react-native)

- Author: Sourav Kumar
- Published: April 27, 2021
- Categories: React Native

Handling environment specific configurations in React Native

### Rails 7 adds Enumerable#sole

[Rails 7 adds Enumerable#sole](https://www.bigbinary.com/blog/rails-7-adds-enumerable-sole)

- Author: Ashik Salman
- Published: April 27, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds Enumerable#sole

### Ruby 3.1 accumulates Enumerable#tally results

[Ruby 3.1 accumulates Enumerable#tally results](https://www.bigbinary.com/blog/ruby-3-1-accumulates-enumerable-tally-results)

- Author: Ashik Salman
- Published: April 20, 2021
- Categories: Ruby 3.1, Ruby

Ruby 3.1 accumulates Enumerable#tally results

### Rails 6.1 adds support for validating numeric values that fall within a specific range using the \`in:\` option

[Rails 6.1 adds support for validating numeric values that fall within a specific range using the \`in:\` option](https://www.bigbinary.com/blog/rails-6-1-adds-validate-numericality-in-range-option)

- Author: Akanksha Jain
- Published: April 14, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds support for validating numeric values that fall within a specific
range using the \`in:\` option

### Handling authentication state in React Native

[Handling authentication state in React Native](https://www.bigbinary.com/blog/handling-authentication-state-in-react-native)

- Author: Ajay Sivan
- Published: April 6, 2021
- Categories: React Native

Handling authentication state in React Native

### Rails 6.1 adds delegated_type to ActiveRecord

[Rails 6.1 adds delegated_type to ActiveRecord](https://www.bigbinary.com/blog/rails-6-1-adds-delegated-type-to-active-record)

- Author: Akhil Gautam
- Published: April 6, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds delegated_type to ActiveRecord

### Rails 7 allows constructors (build_association and create_association) on has_one:through associations

[Rails 7 allows constructors (build_association and create_association) on has_one:through associations](https://www.bigbinary.com/blog/rails-7-allows-build-and-create-association-constructors-on-has-one-through)

- Author: Akanksha Jain
- Published: April 6, 2021
- Categories: Rails, Rails 7

Rails 7 allows constructors (build_association and create_association) on
has_one:through associations

### Ruby 3.1 adds Enumerable#compact and Enumerator::Lazy#compact

[Ruby 3.1 adds Enumerable#compact and Enumerator::Lazy#compact](https://www.bigbinary.com/blog/ruby-3-1-adds-enumerable-compact)

- Author: Ashik Salman
- Published: April 6, 2021
- Categories: Ruby 3.1, Ruby

Ruby 3.1 adds Enumerable#compact and Enumerator::Lazy#compact

### Rails 7 adds Enumerable#in_order_of

[Rails 7 adds Enumerable#in_order_of](https://www.bigbinary.com/blog/rails-7-adds-enumerable-in-order-of)

- Author: Ashik Salman
- Published: March 23, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds Enumerable#in_order_of

### Rails 7 adds ActiveRecord::Relation#excluding

[Rails 7 adds ActiveRecord::Relation#excluding](https://www.bigbinary.com/blog/rails-7-adds-activerecord-relation-excluding)

- Author: Ashik Salman
- Published: March 16, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds ActiveRecord::Relation#excluding

### Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL

[Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL](https://www.bigbinary.com/blog/rails-6-1-adds-nulls-first-and-nulls-last-to-arel)

- Author: Berin Larson
- Published: March 9, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL

### Rails 7.0 adds ActiveRecord::FinderMethods 'sole' and 'find_sole_by

[Rails 7.0 adds ActiveRecord::FinderMethods 'sole' and 'find_sole_by](https://www.bigbinary.com/blog/rails-7-adds-active-record-finder-methods)

- Author: Akanksha Jain
- Published: March 2, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds ActiveRecord::FinderMethods \`#sole\` and \`#find_sole_by\`

### Rails 7 adds Enumerable#maximum

[Rails 7 adds Enumerable#maximum](https://www.bigbinary.com/blog/rails-7-adds-enumerable-maximum)

- Author: Ashik Salman
- Published: February 23, 2021
- Categories: Rails, Rails 7

Rails 7.0 adds Enumerable#maximum

### Prettier's Prose Wrap and eslint maximum-line-length error

[Prettier's Prose Wrap and eslint maximum-line-length error](https://www.bigbinary.com/blog/prettier-prose-wrap-option)

- Author: Mazahir B Haroon
- Published: February 9, 2021
- Categories: JavaScript

A walk-through about prettier's proseWrap option and eslint maximum-line-length
error

### Rails 6.1 adds support for PostgreSQL interval data type

[Rails 6.1 adds support for PostgreSQL interval data type](https://www.bigbinary.com/blog/rails-6-1-adds-postgresql-interval-data-type)

- Author: Akhil Gautam
- Published: January 26, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds support for PostgreSQL interval data type

### Authorization in REST vs Postgraphile

[Authorization in REST vs Postgraphile](https://www.bigbinary.com/blog/authorization-in-rest-vs-postgraphile)

- Author: Amal Jose
- Published: January 20, 2021
- Categories: Misc

Authorization in REST vs Postgraphile

### Rails 6.1 allows per environment configuration support for Active Storage

[Rails 6.1 allows per environment configuration support for Active Storage](https://www.bigbinary.com/blog/rails-6-1-allows-per-environment-configuration-support-for-active-storage)

- Author: Shashank
- Published: January 20, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 allows per environment configuration support for Active Storage

### Rails 6.1 adds support for belongs_to to has_many inversing

[Rails 6.1 adds support for belongs_to to has_many inversing](https://www.bigbinary.com/blog/rails-6-1-adds-support-for-belongs_to-to-has_many-inversing)

- Author: Siddharth Shringi
- Published: January 19, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds support for belongs_to to has_many inversing

### Sort query data on associated table in PostGraphile

[Sort query data on associated table in PostGraphile](https://www.bigbinary.com/blog/sort-query-data-on-associated-tables-in-postgraphile-using-order-by-plugin)

- Author: Taha Husain
- Published: January 19, 2021
- Categories: Misc

How to sort query data on associated tables in PostGraphile.

### Additional database-specific rake tasks for multi-database users

[Additional database-specific rake tasks for multi-database users](https://www.bigbinary.com/blog/rails-6-1-adds-additional-database-specific-tasks)

- Author: Amit Gupta
- Published: January 13, 2021
- Categories: Rails 6.1, Rails

Additional database-specific rake tasks for multi-database users

### Rails 6.1 adds strict_loading to warn lazy loading associations

[Rails 6.1 adds strict_loading to warn lazy loading associations](https://www.bigbinary.com/blog/rails-6-1-adds-strict_loading-to-warn-lazy-loading-associations)

- Author: Dinesh Panda
- Published: January 6, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds strict_loading to warn lazy loading associations

### Rails 6.1 allows default_scope to be run on all queries

[Rails 6.1 allows default_scope to be run on all queries](https://www.bigbinary.com/blog/rails-6-1-allows-default_scope-to-be-run-on-all-queries)

- Author: Unnikrishnan KP
- Published: December 29, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 allows default_scope to be run on all queries

### Ruby 3 is released - The list of Ruby 3 features

[Ruby 3 is released - The list of Ruby 3 features](https://www.bigbinary.com/blog/ruby-3-features)

- Author: Datt Dongare
- Published: December 25, 2020
- Categories: Ruby, Ruby 3

Ruby 3.0 is released on the Xmas 2020. Ruby 3 comes with many new features and
optimizations, check the list of all the features and their importance

### Catch 404 urls in Next.js and write them to firebase

[Catch 404 urls in Next.js and write them to firebase](https://www.bigbinary.com/blog/catch-404-urls-in-nextjs)

- Author: Piyush Sinha
- Published: December 23, 2020
- Categories: Next.js

Catch 404 urls in Next.js and write them to firebase

### Rails 6.1 adds where.associated to check association presence

[Rails 6.1 adds where.associated to check association presence](https://www.bigbinary.com/blog/rails-6-1-adds-where-associated-to-check-association-presence)

- Author: Nithin Krishna
- Published: December 18, 2020
- Categories: Rails, Rails 6.1

Rails 6.1 adds where.associated to check association presence

### Rails 6.1 raises an error for impossible camelcase inflections

[Rails 6.1 raises an error for impossible camelcase inflections](https://www.bigbinary.com/blog/rails-6-1-raises-error-for-impossible-camelcase-inflections)

- Author: Yedhin Kizhakkethara
- Published: December 15, 2020
- Categories: Rails, Rails 6.1

Rails 6.1 raises an error if camelcase inflection is not possible with Rails
generator

### Ruby 3 supports transforming hash keys using a hash argument

[Ruby 3 supports transforming hash keys using a hash argument](https://www.bigbinary.com/blog/ruby-3-supports-transforming-hash-keys-using-a-hash-argument)

- Author: Yedhin Kizhakkethara
- Published: December 15, 2020
- Categories: Ruby, Ruby 3

Ruby Hash#transform_keys now accepts a hash for transforming existing keys

### Rails 6.1 allows associations to be destroyed asynchronously

[Rails 6.1 allows associations to be destroyed asynchronously](https://www.bigbinary.com/blog/rails-6-1-allows-associations-to-support-destroy_async-option-with-dependent-key)

- Author: Srijan Kapoor
- Published: December 8, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 allows associations to support destroy_async option with dependent key

### Setting up wild card SSL on heroku

[Setting up wild card SSL on heroku](https://www.bigbinary.com/blog/wild-card-ssl-on-heroku)

- Author: Neeraj Singh
- Published: December 1, 2020
- Categories: Misc

Seeting up wild card SSL on heroku

### Reduce asset delivery time from 30 to 3 seconds with CDN

[Reduce asset delivery time from 30 to 3 seconds with CDN](https://www.bigbinary.com/blog/using-cloudfront-cdn-to-reduce-asset-delivery-time-from-30-seconds-to-3-seconds)

- Author: Vinay Chandran
- Published: November 24, 2020
- Categories: Rails

Using Cloudfront CDN to reduce asset delivery time from 30 seconds to 3 seconds

### Rails 6.1 adds values_at attribute method for Active Record

[Rails 6.1 adds values_at attribute method for Active Record](https://www.bigbinary.com/blog/rails-6-1-adds-values_at-attribute-method-for-active-record)

- Author: Chetan Gawai
- Published: November 17, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds values_at attribute method for Active Record

### Ruby 3 adds new method Hash#except

[Ruby 3 adds new method Hash#except](https://www.bigbinary.com/blog/ruby-3-adds-new-method-hash-except)

- Author: Akhil Gautam
- Published: November 11, 2020
- Categories: Ruby, Ruby 3

Ruby 3 adds new method except to Hash class

### Database tasks can skip test database using SKIP_TEST_DATABASE

[Database tasks can skip test database using SKIP_TEST_DATABASE](https://www.bigbinary.com/blog/database-tasks-can-skip_test_database-with-an-environment-variable)

- Author: Sandip Mane
- Published: October 27, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds ability to skip modifying test database in database tasks with an
environment variable.

### Rails 6.1 supports ORDER BY clause for batch processing methods

[Rails 6.1 supports ORDER BY clause for batch processing methods](https://www.bigbinary.com/blog/rails-6-1-supports-order-desc-for-find_each-find_in_batches-and-in_batches)

- Author: Sagar Patil
- Published: October 22, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 supports order DESC for find_each, find_in_batches, and in_batches

### Ruby 3 adds Symbol#name

[Ruby 3 adds Symbol#name](https://www.bigbinary.com/blog/ruby-3-adds-symbol-name)

- Author: Datt Dongare
- Published: October 12, 2020
- Categories: Ruby, Ruby 3

Ruby 3 adds an instance method 'name' to a Symbol class. Check what the 'name'
method does and why it was introduced

### React 17 delegates events to root instead of document

[React 17 delegates events to root instead of document](https://www.bigbinary.com/blog/react-17-delegates-events-to-root-instead-of-document)

- Author: Chetan Gawai
- Published: September 29, 2020
- Categories: ReactJS

React 17 delegates events to root instead of document

### Rails 6.1 deprecates structure:dump/load rake tasks

[Rails 6.1 deprecates structure:dump/load rake tasks](https://www.bigbinary.com/blog/rails-6-1-deprecates-rails-db-structure-dump)

- Author: Chetan Gawai
- Published: September 22, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 deprecates rails db:structure:dump and rails db:structure:load

### Ruby 3 adds endless method definition

[Ruby 3 adds endless method definition](https://www.bigbinary.com/blog/ruby-3-adds-endless-method-definition)

- Author: Akhil Gautam
- Published: September 15, 2020
- Categories: Ruby, Ruby 3

Ruby 3 adds endless method definition

### Rails 6.1 adds --minimal option support

[Rails 6.1 adds --minimal option support](https://www.bigbinary.com/blog/rails-6-1-adds-minimal-option-support)

- Author: Sandip Mane
- Published: September 8, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds --minimal support to create bare minimum app

### Rails 6 adds support to persist timezones of Active Job

[Rails 6 adds support to persist timezones of Active Job](https://www.bigbinary.com/blog/rails-6-add-timezone-support-in-active-job)

- Author: Chetan Gawai
- Published: September 1, 2020
- Categories: Rails 6, Rails

Rails 6 now records current timezone of Active Job

### Ruby 2.7 adds Beginless Range

[Ruby 2.7 adds Beginless Range](https://www.bigbinary.com/blog/ruby-2-7-adds-beginless-range)

- Author: Ashwath Biradar
- Published: August 25, 2020
- Categories: Ruby 2.7, Ruby

Ruby 2.7 adds Beginless Range

### Rails 6 adds including & excluding method on Enumerables

[Rails 6 adds including & excluding method on Enumerables](https://www.bigbinary.com/blog/rails-6-adds-array-including-excluding-and-enumerable-including-excluding)

- Author: Akhil Gautam
- Published: August 18, 2020
- Categories: Rails 6, Rails

Rails 6 adds Array#including/excluding and Enumerable#including/excluding

### Rails 6.1 raises error on rollback when using multiple database

[Rails 6.1 raises error on rollback when using multiple database](https://www.bigbinary.com/blog/rails-6-1-raises-on-db-rollback-for-multiple-database-applications)

- Author: Srijan Kapoor
- Published: August 12, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 raises on db:rollback for multiple database applications

### Rails 6.1 creates abstract classes in multiple database mode

[Rails 6.1 creates abstract classes in multiple database mode](https://www.bigbinary.com/blog/rails-6-1-automatically-generates-abstract-class-when-using-multiple-databases)

- Author: Akhil Gautam
- Published: August 4, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 automatically generates abstract class when generating scaffold in
another database

### Rails 6.1 deprecates the use of exit statements in transaction

[Rails 6.1 deprecates the use of exit statements in transaction](https://www.bigbinary.com/blog/rails-6-1-deprecates-the-use-of-return-break-or-throw-to-exit-a-transaction-block)

- Author: Sandip Mane
- Published: August 4, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 deprecates the use of return, break or throw to exit a transaction
block

### Render a liquid template when the template is a liquid template

[Render a liquid template when the template is a liquid template](https://www.bigbinary.com/blog/render-liquid-templates-when-the-template-refers-to-other-liquid-templates)

- Author: Sandip Mane
- Published: August 4, 2020
- Categories: Rails

How to render liquid templates when the template refers to other liquid
templates

### Rails 6.1 adds annotate_rendered_view_with_filenames for views

[Rails 6.1 adds annotate_rendered_view_with_filenames for views](https://www.bigbinary.com/blog/rails-6-1-adds-annotate_rendered_view_with_filenames-to-annotate-html-output)

- Author: Akhil Gautam
- Published: July 29, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds ActionView::Base.annotate_rendered_view_with_filenames to
annotate HTML output

### Rails 6.1 allows configuring default value of enum attributes

[Rails 6.1 allows configuring default value of enum attributes](https://www.bigbinary.com/blog/rails-6-1-allows-enums-attributes-to-have-default-value)

- Author: Abhay Nikam
- Published: July 21, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 allows enums attributes to configure the default value

### Rails 6.1 adds support for where with a comparison operator

[Rails 6.1 adds support for where with a comparison operator](https://www.bigbinary.com/blog/rails-6-1-adds-support-for-where-with-comparison-operator)

- Author: Abhay Nikam
- Published: July 14, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds support for where with a comparison operator

### Rails 6.1 tracks Active Storage variant in the database

[Rails 6.1 tracks Active Storage variant in the database](https://www.bigbinary.com/blog/rails-6-1-tracks-active-storage-variant-in-the-database)

- Author: Abhay Nikam
- Published: June 30, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 tracks Active Storage variant in the database

### Ruby 2.7 adds Enumerable#filter_map

[Ruby 2.7 adds Enumerable#filter_map](https://www.bigbinary.com/blog/ruby-2-7-adds-enumerable-filter-map)

- Author: Ashik Salman
- Published: May 8, 2020
- Categories: Ruby 2.7, Ruby

Ruby 2.7 adds Enumerable#filter_map

### Ruby 2.7 deprecates conversion of keyword arguments

[Ruby 2.7 deprecates conversion of keyword arguments](https://www.bigbinary.com/blog/ruby-2-7-deprecates-conversion-of-keyword-arguments)

- Author: Taha Husain
- Published: April 14, 2020
- Categories: Ruby 2.7, Ruby

Ruby 2.7 deprecates conversion of keyword arguments and positional arguments

### Ruby 2.7 adds Enumerator::Lazy#eager

[Ruby 2.7 adds Enumerator::Lazy#eager](https://www.bigbinary.com/blog/ruby-2-7-adds-enumerator-lazy-eager)

- Author: Ashik Salman
- Published: March 18, 2020
- Categories: Ruby 2.7, Ruby

Ruby 2.7 adds Enumerator::Lazy#eager

### Ruby 2.7 adds numbered parameters as default block parameters

[Ruby 2.7 adds numbered parameters as default block parameters](https://www.bigbinary.com/blog/ruby-2-7-introduces-numbered-parameters-as-default-block-parameters)

- Author: Taha Husain
- Published: March 3, 2020
- Categories: Ruby 2.7, Ruby

Ruby 2.7 introduces numbered parameters as default block parameters

### Rails 6 fixes after_commit callback invocation bug

[Rails 6 fixes after_commit callback invocation bug](https://www.bigbinary.com/blog/rails-6-fixes-a-bug-where-after_commit-callbacks-are-called-on-failed-update-in-a-transaction-block)

- Author: Amit Choudhary
- Published: February 25, 2020
- Categories: Rails 6, Rails

Rails 6 fixes a bug where after_commit callbacks are called on failed update in
a transaction block

### Ruby 2.7 adds Enumerable#tally

[Ruby 2.7 adds Enumerable#tally](https://www.bigbinary.com/blog/ruby-2-7-adds-enumerable-tally)

- Author: Akhil Gautam
- Published: February 18, 2020
- Categories: Ruby 2.7, Ruby

Ruby 2.7 adds Enumerable#tally

### Rails 6.1 introduces class_names helper

[Rails 6.1 introduces class_names helper](https://www.bigbinary.com/blog/rails-6-1-introduces-class_names-helper)

- Author: Abhay Nikam
- Published: February 4, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 introduces class_names helper to conditionally add CSS classes.

### Rails Multiple Polymorphic Joins

[Rails Multiple Polymorphic Joins](https://www.bigbinary.com/blog/rails-multiple-polymorphic-joins)

- Author: Priyank Gupta
- Published: January 7, 2020
- Categories: Rails

Implement multiple polymorphic joins in rails

### Rails 6 adds rails db:prepare to migrate or setup a database

[Rails 6 adds rails db:prepare to migrate or setup a database](https://www.bigbinary.com/blog/rails-6-adds-rails-db-prepare-to-migrate-or-setup-a-database)

- Author: Akhil Gautam
- Published: December 10, 2019
- Categories: Rails 6, Rails

Rails 6 adds rails db:prepare to migrate or setup a database if it doesn't exist

### Rails 6.1 adds \*\_previously_was attribute methods

[Rails 6.1 adds \*\_previously_was attribute methods](https://www.bigbinary.com/blog/rails-6-1-adds-_previously_was-attribute-methods)

- Author: Abhay Nikam
- Published: December 3, 2019
- Categories: Rails 6.1, Rails

Rails 6.1 adds \*\_previously_was attribute methods for dirty tracking

### Rails 6 adds guard against DNS Rebinding attacks

[Rails 6 adds guard against DNS Rebinding attacks](https://www.bigbinary.com/blog/rails-6-adds-guard-against-dns-rebinding-attacks)

- Author: Midhun Krishna
- Published: November 5, 2019
- Categories: Rails 6, Rails

Rails 6 adds guard against DNS Rebinding attacks by whitelisting hosts via
configuration

### Rails 6 adds ActiveStorage::Blob#open

[Rails 6 adds ActiveStorage::Blob#open](https://www.bigbinary.com/blog/rails-6-adds-activestorage-blob-open)

- Author: Akhil Gautam
- Published: October 30, 2019
- Categories: Rails 6, Rails

Rails 6 adds ActiveStorage::Blob#open

### Rails 6 adds ActionMailer#email_address_with_name

[Rails 6 adds ActionMailer#email_address_with_name](https://www.bigbinary.com/blog/rails-6-adds-actionmailer-email_address_with_name)

- Author: Taha Husain
- Published: October 22, 2019
- Categories: Rails 6, Rails

Rails 6 adds email_address_with_name to ActionMailer to properly escape email
addresses with names.

### Rails 6 raises ArgumentError if param contains colon

[Rails 6 raises ArgumentError if param contains colon](https://www.bigbinary.com/blog/rails-6-raises-argumenterror-if-custom-param-contains-a-colon)

- Author: Amit Choudhary
- Published: October 15, 2019
- Categories: Rails 6, Rails

Rails 6 raises ArgumentError if custom param contains a colon

### Rails 6 introduces new code loader called Zeitwerk

[Rails 6 introduces new code loader called Zeitwerk](https://www.bigbinary.com/blog/rails-6-introduces-new-code-loader-called-zeitwerk)

- Author: Midhun Krishna
- Published: October 8, 2019
- Categories: Rails 6, Rails

Rails 6 introduces new code loader named Zeitwerk with better Ruby semantics and
threadsafety

### Rails 6 adds ActiveSupport::ActionableError

[Rails 6 adds ActiveSupport::ActionableError](https://www.bigbinary.com/blog/rails-6-adds-active-support-actionable-error)

- Author: Taha Husain
- Published: October 1, 2019
- Categories: Rails 6, Rails

Rails 6 adds support for dispatching actions from error page

### This is how our workspace looks like

[This is how our workspace looks like](https://www.bigbinary.com/blog/this-is-how-our-workspace-looks-like)

- Author: Rishi Mohan
- Published: September 26, 2019
- Categories: Misc

Sneak peek at remote workspaces setup of team BigBinary

### Rails 6 add_foreign_key & remove_foreign_key SQLite3

[Rails 6 add_foreign_key & remove_foreign_key SQLite3](https://www.bigbinary.com/blog/rails-6-adds-add_foreign_key-and-remove_foreign_key-for-sqlite3)

- Author: Amit Choudhary
- Published: September 24, 2019
- Categories: Rails 6, Rails

Rails 6 adds add_foreign_key and remove_foreign_key for SQLite3

### Rails 6 adds ActionDispatch::Request::Session#dig

[Rails 6 adds ActionDispatch::Request::Session#dig](https://www.bigbinary.com/blog/rails-6-adds-actiondispatch-request-session-dig)

- Author: Amit Choudhary
- Published: September 18, 2019
- Categories: Rails 6, Rails

Rails 6 adds ActionDispatch::Request::Session#dig

### Marking arrays of translations safe using html suffix

[Marking arrays of translations safe using html suffix](https://www.bigbinary.com/blog/rails-6-marks-arrays-of-translations-as-trusted-safe-by-using-the-_html-suffix)

- Author: Vishal Telangre
- Published: September 11, 2019
- Categories: Rails 6, Rails

Rails 6 marks arrays of translations as trusted safe by using the \_html suffix

### Rails 6 adds filter_attributes on ActiveRecord::Base

[Rails 6 adds filter_attributes on ActiveRecord::Base](https://www.bigbinary.com/blog/rails-6-adds-activerecord-base-filter_attributes)

- Author: Amit Choudhary
- Published: September 3, 2019
- Categories: Rails 6, Rails

Rails 6 adds filter_attributes on ActiveRecord::Base

### ArgumentError for invalid:limit &:precision Rails 6

[ArgumentError for invalid:limit &:precision Rails 6](https://www.bigbinary.com/blog/rails-6-raises-argumenterror-for-invalid-limit-and-precision)

- Author: Amit Choudhary
- Published: August 27, 2019
- Categories: Rails 6, Rails

Rails 6 raises ArgumentError for invalid:limit and:precision

### Rails 6 Pass custom config to ActionCable::Server::Base

[Rails 6 Pass custom config to ActionCable::Server::Base](https://www.bigbinary.com/blog/rails-6-allows-passing-custom-configuration-to-actioncable-server-base)

- Author: Taha Husain
- Published: August 21, 2019
- Categories: Rails 6, Rails

Rails 6 allows passing custom configuration to ActionCable::Server::Base

### Rails 6 adds support of symbol keys

[Rails 6 adds support of symbol keys](https://www.bigbinary.com/blog/rails-6-adds-activesupport-hashwithindifferentaccess-assoc)

- Author: Amit Choudhary
- Published: August 20, 2019
- Categories: Rails 6, Rails

Rails 6 adds support of symbol keys with
ActiveSupport::HashWithIndifferentAccess#assoc

### Rails 6 preserves status of #html_safe?

[Rails 6 preserves status of #html_safe?](https://www.bigbinary.com/blog/rails-6-preserves-status-of-html_safe-on-sliced-and-multiplied-html-safe-strings)

- Author: Vishal Telangre
- Published: August 13, 2019
- Categories: Rails 6, Rails

"Rails 6 preserves status of #html_safe? on HTML safe strings which are sliced
or multiplied using \`ActiveSupport::SafeBuffer#\*\`"

### Recyclable cache keys in Rails

[Recyclable cache keys in Rails](https://www.bigbinary.com/blog/rails-adds-support-for-recyclable-cache-keys)

- Author: Taha Husain
- Published: August 6, 2019
- Categories: Rails 5.2, Rails 6, Rails

Rails added cache_versioning and collection_cache_versioning to support
recyclable cache keys.

### Rails 6 deprecates where.not as NOR & Rails 6.1 as NAND

[Rails 6 deprecates where.not as NOR & Rails 6.1 as NAND](https://www.bigbinary.com/blog/rails-6-deprecates-where-not-working-as-nor-and-will-change-to-nand-in-rails-6-1)

- Author: Taha Husain
- Published: July 31, 2019
- Categories: Rails 6, Rails

Rails 6 adds a deprecation warning for where.not as NOR and will change in Rails
6.1 to NAND

### Rails 6 adds support for Optimizer Hints

[Rails 6 adds support for Optimizer Hints](https://www.bigbinary.com/blog/rails-6-supports-optimizer-hints)

- Author: Vishal Telangre
- Published: July 30, 2019
- Categories: Rails 6, Rails

Rails 6 has added support for Optimizer Hints

### Rails 6 reports object allocations while rendering

[Rails 6 reports object allocations while rendering](https://www.bigbinary.com/blog/rails-6-reports-object-allocations-made-while-rendering-view-templates)

- Author: Vishal Telangre
- Published: July 23, 2019
- Categories: Rails 6, Rails

Rails 6 reports object allocations made while rendering view templates

### Rails 6 adds ActiveRecord::Relation#annotate

[Rails 6 adds ActiveRecord::Relation#annotate](https://www.bigbinary.com/blog/rails-6-adds-annotate-to-activerecord-relation-queries)

- Author: Abhay Nikam
- Published: July 15, 2019
- Categories: Rails 6, Rails

Rails 6 adds ActiveRecord::Relation#annotate to annotate generated SQL queries

### Rails 6 adds hook to Active Job for retry & discard

[Rails 6 adds hook to Active Job for retry & discard](https://www.bigbinary.com/blog/rails-6-adds-hooks-to-activejob-around-retries-and-discards)

- Author: Vishal Telangre
- Published: July 9, 2019
- Categories: Rails 6, Rails

Rails 6 adds hooks to Active Job around retries and discards

### Rails 6 adds support for Multi Environment credentials

[Rails 6 adds support for Multi Environment credentials](https://www.bigbinary.com/blog/rails-6-adds-support-for-multi-environment-credentials)

- Author: Berin Larson
- Published: July 3, 2019
- Categories: Rails 6, Rails

Rails 6 adds support for multi environment credentials

### Rails 6 adds before? and after? to Date and Time

[Rails 6 adds before? and after? to Date and Time](https://www.bigbinary.com/blog/rails-6-adds-before-and-after-to-date-and-time)

- Author: Amit Choudhary
- Published: June 26, 2019
- Categories: Rails 6, Rails

Rails 6 adds before? and after? to Date, DateTime, Time and
ActiveSupport::TimeWithZone classes

### Rails 6 adds Array#extract!

[Rails 6 adds Array#extract!](https://www.bigbinary.com/blog/rails-6-adds-array-extract)

- Author: Amit Choudhary
- Published: June 24, 2019
- Categories: Rails 6, Rails

Rails 6 adds Array#extract!

### Rails 6 adds Enumerable#index_with

[Rails 6 adds Enumerable#index_with](https://www.bigbinary.com/blog/rails-6-adds-enumerable-index_with)

- Author: Amit Choudhary
- Published: June 17, 2019
- Categories: Rails 6, Rails

Rails 6 adds Enumerable#index_with

### Rails 6 adds private option to delegate method

[Rails 6 adds private option to delegate method](https://www.bigbinary.com/blog/rails-6-adds-private-option-to-delegate-method)

- Author: Amit Choudhary
- Published: June 10, 2019
- Categories: Rails 6, Rails

Rails 6 adds private option to delegate method

### Rails 6 allows spaces in postgres table names

[Rails 6 allows spaces in postgres table names](https://www.bigbinary.com/blog/rails-6-allows-spaces-in-postgres-table-names)

- Author: Amit Choudhary
- Published: June 5, 2019
- Categories: Rails 6, Rails

Rails 6 allows spaces in postgres table names

### Rails 6 adds if_not_exists option to create_table

[Rails 6 adds if_not_exists option to create_table](https://www.bigbinary.com/blog/rails-6-adds-if_not_exists-option-to-create_table)

- Author: Amit Choudhary
- Published: May 22, 2019
- Categories: Rails 6, Rails

Rails 6 adds if_not_exists option to create_table

### Rails 6 has added a way to change the database of the app

[Rails 6 has added a way to change the database of the app](https://www.bigbinary.com/blog/rails-6-has-added-a-way-to-change-the-database-of-the-app)

- Author: Prathamesh Sonpatki
- Published: April 30, 2019
- Categories: Rails 6, Rails

It is possible to change the database configuration using a simple command

### Rails 6 adds parallel testing

[Rails 6 adds parallel testing](https://www.bigbinary.com/blog/rails-6-adds-parallel-testing)

- Author: Amit Choudhary
- Published: April 29, 2019
- Categories: Rails 6, Rails

Rails 6 adds parallel testing

### Rails 6 improves ActiveSupport::Notifications::Event

[Rails 6 improves ActiveSupport::Notifications::Event](https://www.bigbinary.com/blog/rails-6-adds-cpu-time-idle-time-and-allocations-to-activesupport-notifications-event)

- Author: Vishal Telangre
- Published: April 24, 2019
- Categories: Rails 6, Rails

Rails 6 adds CPU time, idle time and allocations to
ActiveSupport::Notifications::Event

### Rails 6 allows configurable attribute on #has_secure_password

[Rails 6 allows configurable attribute on #has_secure_password](https://www.bigbinary.com/blog/rails-6-allows-configurable-attribute-name-on-has_secure_password)

- Author: Amit Choudhary
- Published: April 23, 2019
- Categories: Rails 6, Rails

Rails 6 allows configurable attribute name on has_secure_password

### Rails 6 allows overriding ActiveModel::Errors#full_message

[Rails 6 allows overriding ActiveModel::Errors#full_message](https://www.bigbinary.com/blog/rails-6-allows-to-override-the-activemodel-errors-full_message-format-at-the-model-level-and-at-the-attribute-level)

- Author: Vishal Telangre
- Published: April 22, 2019
- Categories: Rails 6, Rails

Rails 6 allows to override the ActiveModel::Errors#full_message format at the
model level and at the attribute level

### Rails 6 adds ActiveRecord::Relation#extract_associated

[Rails 6 adds ActiveRecord::Relation#extract_associated](https://www.bigbinary.com/blog/rails-6-adds-activerecord-relation-extract_associated)

- Author: Taha Husain
- Published: April 17, 2019
- Categories: Rails 6, Rails

Rails 6 added ActiveRecord::Relation#extract_associated for extracting
associated records from a relation

### Rails 6 adds implicit_order_column

[Rails 6 adds implicit_order_column](https://www.bigbinary.com/blog/rails-6-adds-implicit_order_column)

- Author: Amit Choudhary
- Published: April 16, 2019
- Categories: Rails 6, Rails

Rails 6 adds implicit_order_column for ordering records implicitly

### Bulk insert support in Rails 6

[Bulk insert support in Rails 6](https://www.bigbinary.com/blog/bulk-insert-support-in-rails-6)

- Author: Vishal Telangre
- Published: April 15, 2019
- Categories: Rails 6, Rails

Rails 6 introduced methods such as insert_all, insert_all! and update_all to
support bulk insert

### Rails 6 drops support for PostgreSQL version less than 9.3

[Rails 6 drops support for PostgreSQL version less than 9.3](https://www.bigbinary.com/blog/rails-6-drops-support-for-postgresql-less-than-9-3)

- Author: Prathamesh Sonpatki
- Published: April 10, 2019
- Categories: Rails 6, Rails

Rails 6 has dropped support for PostgreSQL versions less than 9.3

### Rails 6 requires Ruby 2.5 or newer

[Rails 6 requires Ruby 2.5 or newer](https://www.bigbinary.com/blog/rails-6-requires-ruby-2-5-or-newer)

- Author: Vishal Telangre
- Published: April 9, 2019
- Categories: Rails 6, Rails

Rails 6 requires Ruby 2.5 or newer

### Rails 6 database seed uses inline Active Job adapter

[Rails 6 database seed uses inline Active Job adapter](https://www.bigbinary.com/blog/database-seeding-task-uses-inline-active-job-adapter-in-rails-6)

- Author: Prathamesh Sonpatki
- Published: April 3, 2019
- Categories: Rails 6, Rails

Rails 6 uses inline Active Job adapter for background processing related to
db:seed task

### Rails 6 adds ActiveRecord::Relation#reselect

[Rails 6 adds ActiveRecord::Relation#reselect](https://www.bigbinary.com/blog/rails-6-adds-activerecord-relation-reselect)

- Author: Abhay Nikam
- Published: April 2, 2019
- Categories: Rails 6, Rails

Rails 6 adds ActiveRecord::Relation#reselect method.

### Rails 6 adds ActiveModel::Errors#of_kind?

[Rails 6 adds ActiveModel::Errors#of_kind?](https://www.bigbinary.com/blog/rails-6-adds-activemodel-errors-of_kind-)

- Author: Amit Choudhary
- Published: April 1, 2019
- Categories: Rails 6, Rails

Rails 6 adds ActiveModel::Errors#of_kind?

### Rails 6 shows routes in expanded format

[Rails 6 shows routes in expanded format](https://www.bigbinary.com/blog/rails-6-shows-routes-in-expanded-format)

- Author: Prathamesh Sonpatki
- Published: March 27, 2019
- Categories: Rails 6, Rails

Rails 6 has added ability to show the routes in an expanded format

### Rails 6 adds ActiveModel::Errors#slice!

[Rails 6 adds ActiveModel::Errors#slice!](https://www.bigbinary.com/blog/rails-6-adds-activemodel-errors-slice)

- Author: Amit Choudhary
- Published: March 26, 2019
- Categories: Rails 6, Rails

Rails 6 adds ActiveModel::Errors#slice!

### Rails 6 adds create_or_find_by and create_or_find_by!

[Rails 6 adds create_or_find_by and create_or_find_by!](https://www.bigbinary.com/blog/rails-6-adds-create_or_find_by)

- Author: Amit Choudhary
- Published: March 25, 2019
- Categories: Rails 6, Rails

Rails 6 adds create_or_find_by and create_or_find_by! to find record if creation
fails because of unique constraints

### Rails 6 raises ActiveModel::MissingAttributeError

[Rails 6 raises ActiveModel::MissingAttributeError](https://www.bigbinary.com/blog/rails-6-raises-activemodel-missingattributeerror-when-update_columns-is-used-with-non-existing-attribute)

- Author: Amit Choudhary
- Published: March 20, 2019
- Categories: Rails 6, Rails

updated_columns raises ActiveModel::MissingAttributeError when used with a
non-existing attribute in Rails 6

### Rails 6 ActiveRecord::Base.configurations

[Rails 6 ActiveRecord::Base.configurations](https://www.bigbinary.com/blog/rails-6-changed-activerecord-base-configurations-result-to-an-object)

- Author: Amit Choudhary
- Published: March 19, 2019
- Categories: Rails 6, Rails

Rails 6 changed ActiveRecord::Base.configurations result to an object instead of
a hash

### Marketing strategy at BigBinary

[Marketing strategy at BigBinary](https://www.bigbinary.com/blog/marketing-strategy-at-bigbinary)

- Author: Neeraj Singh
- Published: March 18, 2019
- Categories: Misc

Marketing strategy at BigBinary

### Rails 6 shows unpermitted params in logs in color

[Rails 6 shows unpermitted params in logs in color](https://www.bigbinary.com/blog/rails-6-shows-unpermitted-params-in-logs-in-color)

- Author: Prathamesh Sonpatki
- Published: March 18, 2019
- Categories: Rails 6, Rails

The unpermitted params are shown in red color for better visibility

### Rails 6 delete_by, destroy_by ActiveRecord::Relation

[Rails 6 delete_by, destroy_by ActiveRecord::Relation](https://www.bigbinary.com/blog/rails-6-adds-activerecord-relation-delete_by-and-activerecord-relation-destroy_by)

- Author: Abhay Nikam
- Published: March 13, 2019
- Categories: Rails 6, Rails

In Rails 6, ActiveRecord::Relation has two new methods \`delete_by\` and
\`destroy_by\`.

### Rails 6 adds ActiveRecord::Relation#touch_all

[Rails 6 adds ActiveRecord::Relation#touch_all](https://www.bigbinary.com/blog/rails-6-adds-activerecord-relation-touch-all)

- Author: Amit Choudhary
- Published: March 12, 2019
- Categories: Rails 6, Rails

Rails 6 added pick method on ActiveRecord::Relation#touch_all to touch multiple
records in a go

### Rails 6 adds negative scopes on enum

[Rails 6 adds negative scopes on enum](https://www.bigbinary.com/blog/rails-6-adds-negative-scopes-on-enum)

- Author: Abhay Nikam
- Published: March 6, 2019
- Categories: Rails 6, Rails

Rails 6 adds default negative scopes for all defined enum on model

### MJIT Support in Ruby 2.6

[MJIT Support in Ruby 2.6](https://www.bigbinary.com/blog/mjit-support-in-ruby-2-6)

- Author: Sudeep Tarlekar
- Published: March 5, 2019
- Categories: Ruby 2.6, Ruby

MJIT Support in Ruby 2.6

### Resolve foreign key constraint conflict

[Resolve foreign key constraint conflict](https://www.bigbinary.com/blog/resolve-foreign-key-constraint-conflict-while-copying-data-using-topological-sort)

- Author: Narendra Rajput
- Published: February 5, 2019
- Categories: Misc

Resolve foreign key constraint conflict while copying data for subset of tables
between databases using topological sort

### Cache all files with Cloudflare worker and HMAC auth

[Cache all files with Cloudflare worker and HMAC auth](https://www.bigbinary.com/blog/how-to-cache-all-files-using-cloudflare-worker-along-with-hmac-authentication)

- Author: Ershad Kunnakkadan
- Published: January 29, 2019
- Categories: DevOps

Cloudflare worker lets us write custom JavaScript to preprocess requests. The
article explains how to cache all files and setup HMAC authentication using
workers.

### Replacing PhantomJS with headless Chrome

[Replacing PhantomJS with headless Chrome](https://www.bigbinary.com/blog/replacing-phantomjs-with-headless-chrome)

- Author: Navaneeth PK
- Published: January 22, 2019
- Categories: Rails

Replacing PhantomJS with headless Chrome

### Rails 6 adds ActiveRecord::Relation#pick

[Rails 6 adds ActiveRecord::Relation#pick](https://www.bigbinary.com/blog/rails-6-adds-activerecord-relation-pick)

- Author: Prathamesh Sonpatki
- Published: January 16, 2019
- Categories: Rails 6

Rails 6 added a shortcut to select first value for a group of columns from a
relation

### Target Tracking Policy for Auto Scaling

[Target Tracking Policy for Auto Scaling](https://www.bigbinary.com/blog/target-tracking-policy-for-auto-scaling)

- Author: Ershad Kunnakkadan
- Published: January 15, 2019
- Categories: DevOps

How to configure Target Tracking Policy in AWS

### Migrating Gumroad from RequireJS to webpack

[Migrating Gumroad from RequireJS to webpack](https://www.bigbinary.com/blog/migrating-gumroad-from-requirejs-to-webpack)

- Author: Sharang Dashputre
- Published: December 12, 2018
- Categories: JavaScript

How we migrated from RequireJS to webpack and Bower to NPM in Gumroad in order
to simplify the build process while using modern tools

### Rails 5 Active Record attributes API

[Rails 5 Active Record attributes API](https://www.bigbinary.com/blog/rails-5-attributes-api)

- Author: Abhay Nikam
- Published: December 11, 2018
- Categories: Rails 5, Rails

Rails 5 introduces Active Record attributes API to type cast values to
appropriate Ruby types

### Passing current_user by default in Sidekiq

[Passing current_user by default in Sidekiq](https://www.bigbinary.com/blog/passing-current-user-by-default-in-sidekiq)

- Author: Ashish Gaur
- Published: December 5, 2018
- Categories: Rails

Passing current_user by default in Sidekiq

### Optimize Google map multi-route loading with B-spline

[Optimize Google map multi-route loading with B-spline](https://www.bigbinary.com/blog/using-bspline-curves-to-draw-sampled-route-points-on-google-maps)

- Author: Ashish Gaur
- Published: December 4, 2018
- Categories: JavaScript

Optimize loading multiple routes on Google map using B-spline

### Deploying feature branches to have a review app

[Deploying feature branches to have a review app](https://www.bigbinary.com/blog/deploying-feature-branches-to-have-a-review-app)

- Author: Ershad Kunnakkadan
- Published: November 27, 2018
- Categories: DevOps

Deploying feature branches to have a review app using AWS, Docker and a few
other tools

### Skipping devise trackable module for API calls

[Skipping devise trackable module for API calls](https://www.bigbinary.com/blog/skip-devise-trackable-module-for-api-calls)

- Author: Prathamesh Sonpatki
- Published: October 30, 2018
- Categories: Rails

This blog post discusses about issues faced due to devise trackable module for
API calls and how to skip it

### Ruby 2.6 Range#cover? accepts Range object as argument

[Ruby 2.6 Range#cover? accepts Range object as argument](https://www.bigbinary.com/blog/ruby-2-6-range-cover-now-accepts-range-object)

- Author: Abhay Nikam
- Published: October 24, 2018
- Categories: Ruby 2.6, Ruby

Ruby 2.6 Range#cover? now accepts Range object as an argument

### Rails 5.2 DSL for configuring Content Security Policy

[Rails 5.2 DSL for configuring Content Security Policy](https://www.bigbinary.com/blog/rails-5-2-adds-dsl-for-configuring-content-security-policy-header)

- Author: Sushant Mittal
- Published: October 23, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 adds DSL for configuring Content Security Policy header

### Rails 5.2 stops some raw SQL, prevents SQL injections

[Rails 5.2 stops some raw SQL, prevents SQL injections](https://www.bigbinary.com/blog/rails-5-2-disallows-raw-sql-in-active-record)

- Author: Piyush Tiwari
- Published: October 16, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 disallows raw SQL in dangerous Active Record methods preventing SQL
injections

### Ruby 2.6 adds RubyVM::AST module

[Ruby 2.6 adds RubyVM::AST module](https://www.bigbinary.com/blog/ruby-2-6-adds-rubyvm-ast-module)

- Author: Amit Choudhary
- Published: October 2, 2018
- Categories: Ruby 2.6, Ruby

Ruby 2.6 adds RubyVM::AST module

### 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

### Use parametrized containers to deploy Rails microservices

[Use parametrized containers to deploy Rails microservices](https://www.bigbinary.com/blog/deploying-rails-applications-with-parmaetrized-containers)

- Author: Rahul Mahale
- Published: September 26, 2018
- Categories: Kubernetes, Rails

Using parametrized containers to deploy micro services in Rails applications

### Configuring memory allocation in ImageMagick

[Configuring memory allocation in ImageMagick](https://www.bigbinary.com/blog/configuring-memory-allocation-in-imagemagick)

- Author: Ershad Kunnakkadan
- Published: September 12, 2018
- Categories: Ruby

Configuring memory allocation in ImageMagick

### 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

### Reducing infrastructure cost by 10% for ECommerce app

[Reducing infrastructure cost by 10% for ECommerce app](https://www.bigbinary.com/blog/how-we-reduced-infrastructure-cost-e-commerce-project)

- Author: Ershad Kunnakkadan
- Published: August 29, 2018
- Categories: DevOps

How we reduced infrastructure cost by 10% for an e-commerce project

### Ruby 2.6 adds Enumerable#filter as alias of Enumerable#select

[Ruby 2.6 adds Enumerable#filter as alias of Enumerable#select](https://www.bigbinary.com/blog/ruby-2-6-adds-enumerable-filter-as-an-alias-of-enumerable-select)

- Author: Amit Choudhary
- Published: August 28, 2018
- Categories: Ruby 2.6, Ruby

Ruby 2.6 adds Enumerable#filter as an alias of Enumerable#select

### Ruby 2.6 adds support for non-ASCII capital letter

[Ruby 2.6 adds support for non-ASCII capital letter](https://www.bigbinary.com/blog/ruby-2.6-adds-support-for-non-ascii-capital-case-constant)

- Author: Rohan Pujari
- Published: August 22, 2018
- Categories: Ruby 2.6, Ruby

Ruby 2.6 adds support for non-ASCII capital letter as a first character in
constant name

### Setting up a high performance Geocoder

[Setting up a high performance Geocoder](https://www.bigbinary.com/blog/setting-up-a-high-performance-geocoder)

- Author: Midhun Krishna
- Published: August 21, 2018
- Categories: Ruby, Rails

A setup guide with side-by-side comparison of Nominatim with Google geocoder and
how to improve geocoding efficiency

### Debug failing puppeteer tests due to background tab

[Debug failing puppeteer tests due to background tab](https://www.bigbinary.com/blog/debugging-failing-tests-in-background-tab-in-puppeteer)

- Author: Rohit Kumar
- Published: August 15, 2018
- Categories: Misc

Debugging failing tests in puppeteer because of background tab

### Ruby 2.6 adds write_timeout to Net::HTTP

[Ruby 2.6 adds write_timeout to Net::HTTP](https://www.bigbinary.com/blog/ruby-2-6-adds-write-timeout-to-net-http)

- Author: Taha Husain
- Published: August 14, 2018
- Categories: Ruby 2.6, Ruby

write_timeout is added to Net::HTTP and Net::BufferedIO in Ruby 2.6

### Kubernetes ingress controller for authenticating apps

[Kubernetes ingress controller for authenticating apps](https://www.bigbinary.com/blog/using-kubernetes-ingress-authentication)

- Author: Rahul Mahale
- Published: August 14, 2018
- Categories: Kubernetes

Authenticate your application using kubernetes ingress

### Ruby 2.6 adds Dir#each_child & Dir#children instance

[Ruby 2.6 adds Dir#each_child & Dir#children instance](https://www.bigbinary.com/blog/ruby-2-6-introduces-dir-each_child-and-dir-children-instance-methods)

- Author: Tejaswini Chile
- Published: August 7, 2018
- Categories: Ruby 2.6, Ruby

Ruby 2.6 introduces each_child and children as instance methods to have file
names in a directory without \`.\` and \`..\`

### Ruby 2.6 adds exception parameters for Integer & Float methods

[Ruby 2.6 adds exception parameters for Integer & Float methods](https://www.bigbinary.com/blog/ruby-2-6-adds-option-to-not-raise-exception-for-integer-float-methods)

- Author: Prathamesh Sonpatki
- Published: July 31, 2018
- Categories: Ruby 2.6, Ruby

Instead of raising exception, we can pass a keyword argument and the type
conversion methods will return nil

### Speed up Docker image build process of a Rails app

[Speed up Docker image build process of a Rails app](https://www.bigbinary.com/blog/speeding-up-docker-image-build-process-of-a-rails-application)

- Author: Vishal Telangre
- Published: July 25, 2018
- Categories: Rails, Kubernetes

By reusing bundler cache and cache of precompiled assets, we can speed up Docker
image building process of a Rails application.

### Ruby 2.6 adds Binding#source_location

[Ruby 2.6 adds Binding#source_location](https://www.bigbinary.com/blog/ruby-2-6-adds-binding-source-location)

- Author: Taha Husain
- Published: July 24, 2018
- Categories: Ruby 2.6, Ruby

Binding#source_location is added in Ruby 2.6 which makes fetching filename and
line number more readable

### Ruby 2.6 adds String#split with block

[Ruby 2.6 adds String#split with block](https://www.bigbinary.com/blog/ruby-2-6-adds-split-with-block)

- Author: Taha Husain
- Published: July 17, 2018
- Categories: Ruby 2.6, Ruby

String#split with block is added in Ruby 2.6. split yields each split substrings
if the block is given, instead of returing the array.

### How to upload source maps to Honeybadger

[How to upload source maps to Honeybadger](https://www.bigbinary.com/blog/how-to-upload-source-maps-to-honeybadger)

- Author: Arbaaz
- Published: July 16, 2018
- Categories: JavaScript

The BigBinary team's lesson on how to upload source maps to Honeybadger.

### Ruby 2.6 raises exception for else without rescue

[Ruby 2.6 raises exception for else without rescue](https://www.bigbinary.com/blog/ruby-2.6-raise-exception-for-else-without-rescue)

- Author: Rohan Pujari
- Published: July 10, 2018
- Categories: Ruby 2.6, Ruby

Ruby 2.6 raises exception when 'else' is used inside 'begin..end' block without
'rescue'

### Auto-format Elm code with elm-format before commit

[Auto-format Elm code with elm-format before commit](https://www.bigbinary.com/blog/format-your-elm-code-with-elm-format-before-committing)

- Author: Ritesh Pillai
- Published: July 9, 2018
- Categories: Misc

Automatically Format your Elm code with elm-format before committing

### Ruby 2.6 adds endless range

[Ruby 2.6 adds endless range](https://www.bigbinary.com/blog/ruby-2-6-adds-endless-range)

- Author: Taha Husain
- Published: July 4, 2018
- Categories: Ruby 2.6, Ruby

Shorter syntax for endless range with index is added in Ruby 2.6

### Rails 5.2 added method write_multi to cache store

[Rails 5.2 added method write_multi to cache store](https://www.bigbinary.com/blog/rails-5.2-adds-write_multi-for-cache-writes)

- Author: Rohan Pujari
- Published: July 3, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 added method write_multi to cache store

### Continuous release of a chrome extension using CircleCI

[Continuous release of a chrome extension using CircleCI](https://www.bigbinary.com/blog/continuously-upload-chrome-extension-with-circleci)

- Author: Amit Choudhary
- Published: June 27, 2018
- Categories: Misc

Continuous release of a chrome extension using CircleCI

### Rails 5.2 uses AES-256-GCM authenticated encryption

[Rails 5.2 uses AES-256-GCM authenticated encryption](https://www.bigbinary.com/blog/rails-5-2-uses-aes-256-gcm-authenticated-encryption-as-default-cipher-for-encrypting-messages)

- Author: Sushant Mittal
- Published: June 26, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 uses AES-256-GCM authenticated encryption as default cipher for
encrypting messages

### Our Thoughts on iOS 12

[Our Thoughts on iOS 12](https://www.bigbinary.com/blog/ios-12)

- Author: Rishi Mohan
- Published: June 11, 2018
- Categories: Misc

Our favorite features from iOS 12 and a guide on how you can install it on your
iPhone

### Using Concurrent Ruby in a Ruby on Rails Application

[Using Concurrent Ruby in a Ruby on Rails Application](https://www.bigbinary.com/blog/using-concurrent-ruby-in-a-ruby-on-rails-application)

- Author: Midhun Krishna
- Published: June 5, 2018
- Categories: Ruby, Rails

A pratical use case of using Concurrent Ruby in Rails applications without
swalloing the exceptions

### Modelling state in Elm to reflect business logic

[Modelling state in Elm to reflect business logic](https://www.bigbinary.com/blog/modelling-state-in-elm-to-reflect-business-logic)

- Author: Ritesh Pillai
- Published: June 4, 2018
- Categories: Misc

Modelling state in Elm to reflect business logic

### RubyKaigi 2018 Day two

[RubyKaigi 2018 Day two](https://www.bigbinary.com/blog/rubykaigi-2018-day-two)

- Author: Prathamesh Sonpatki
- Published: June 1, 2018
- Categories: Ruby

Ground report of Day two from Sendai, Japan where RubyKaigi 2018 is happening

### Logtrail to tail log with Elasticsearch & Kibana on Kubernetes

[Logtrail to tail log with Elasticsearch & Kibana on Kubernetes](https://www.bigbinary.com/blog/tail-log-using-logtrail-with-elk-on-kubernetes)

- Author: Rahul Mahale
- Published: June 1, 2018
- Categories: Kubernetes

Using Logtrail(Papertrail like UI) to tail log with Elasticsearch and Kibana on
Kubernetes

### RubyKaigi 2018 Day one

[RubyKaigi 2018 Day one](https://www.bigbinary.com/blog/rubykaigi-2018-day-one)

- Author: Prathamesh Sonpatki
- Published: May 31, 2018
- Categories: Ruby

Ground report of Day one from Sendai, Japan where RubyKaigi 2018 is happening

### Rails 5.2 adds allow_other_host to redirect_back method

[Rails 5.2 adds allow_other_host to redirect_back method](https://www.bigbinary.com/blog/rails-5-2-adds-allow_other_host-option-to-redirect_back-method)

- Author: Mohit Natoo
- Published: May 30, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 introduces allow_other_host option to redirect_back method to handle
redirection for requests received from a different host

### 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

### APISnapshot built on Elm & Rails is open source

[APISnapshot built on Elm & Rails is open source](https://www.bigbinary.com/blog/apisnapshot-built-using-elm-and-ruby-on-rails-is-open-source)

- Author: Neeraj Singh
- Published: May 25, 2018
- Categories: Misc

APISnapshot built using Elm and Ruby on Rails is open source

### Generating filmstrip using puppeteer for better debugging

[Generating filmstrip using puppeteer for better debugging](https://www.bigbinary.com/blog/generating-filmstrip-using-puppeteer-for-better-debugging)

- Author: Rohit Kumar
- Published: May 24, 2018
- Categories: Misc

Generating filmstrip using puppeteer for better debugging

### Ruby 2.5 added lazy proc allocation for block parameters

[Ruby 2.5 added lazy proc allocation for block parameters](https://www.bigbinary.com/blog/ruby-2-5-added-lazy-proc-allocation-for-block-parameters)

- Author: Amit Choudhary
- Published: May 22, 2018
- Categories: Ruby 2.5, Ruby

Ruby 2.5 added lazy proc allocation for block parameters

### Rails 5.2 fixes query caching in MySQL & PostgreSQL adapters

[Rails 5.2 fixes query caching in MySQL & PostgreSQL adapters](https://www.bigbinary.com/blog/rails-5-2-fixes-query-caching-in-mysql-and-postgresql-adapters)

- Author: Sushant Mittal
- Published: May 16, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 fixes query caching in MySQL and PostgreSQL adapters

### How to mitigate DDoS using Rack::Attack

[How to mitigate DDoS using Rack::Attack](https://www.bigbinary.com/blog/how-to-mitigate-ddos-using-rack-attack)

- Author: Ershad Kunnakkadan
- Published: May 15, 2018
- Categories: Rails

Throttle requests based on IP with Rack::Attack

### Increase reliability using super_fetch of Sidekiq Pro

[Increase reliability using super_fetch of Sidekiq Pro](https://www.bigbinary.com/blog/increase-reliability-of-background-job-processing-using-super_fetch-of-sidekiq-pro)

- Author: Vishal Telangre
- Published: May 8, 2018
- Categories: Ruby, Rails, Kubernetes

Increase reliability of background job processing using super_fetch of Sidekiq
Pro

### Rails 5.2 sets version in Gemfile & adds.ruby-version

[Rails 5.2 sets version in Gemfile & adds.ruby-version](https://www.bigbinary.com/blog/rails-5_2-adds-ruby-version-file-and-ruby-version-to-gemfile-by-default)

- Author: Mohit Natoo
- Published: May 7, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 sets Ruby version in Gemfile and adds.ruby-version file by default.

### Deploying Docker Registry on Kubernetes using S3 Storage

[Deploying Docker Registry on Kubernetes using S3 Storage](https://www.bigbinary.com/blog/deploying-docker-registry-on-kubernetes-using-s3-storage)

- Author: Rahul Mahale
- Published: May 3, 2018
- Categories: Kubernetes

Deploying self-hosted Docker Registry on kubernetes using S3 storage.

### Ruby 2.6 added option to raise exception in Kernel#system

[Ruby 2.6 added option to raise exception in Kernel#system](https://www.bigbinary.com/blog/ruby-2-6-added-option-to-raise-exception-in-kernel-system)

- Author: Amit Choudhary
- Published: April 25, 2018
- Categories: Ruby 2.6, Ruby

The BigBinary team's lesson on Ruby 2.6 adding an option to raise exception in
Kernel#system

### Ruby 2.5 adds Thread.report_on_exception by default

[Ruby 2.5 adds Thread.report_on_exception by default](https://www.bigbinary.com/blog/ruby-2-5-enables-thread-report_on_exception-by-default)

- Author: Vishal Telangre
- Published: April 18, 2018
- Categories: Ruby 2.5, Ruby

Ruby 2.5 enables Thread.report_on_exception by default and we get more info when
threads die

### Rails 5.2 Date#prev_occurring & Date#next_occurring

[Rails 5.2 Date#prev_occurring & Date#next_occurring](https://www.bigbinary.com/blog/rails-5-2-adds-date-methods-to-return-specified-next-or-previous-occurring-day-of-week)

- Author: Sushant Mittal
- Published: April 17, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 added Date#prev_occurring and Date#next_occurring to return specified
next/previous occurring day of week.

### Ruby 2.5 supports measuring branch and method coverages

[Ruby 2.5 supports measuring branch and method coverages](https://www.bigbinary.com/blog/ruby-2-5-supports-measuring-branch-and-method-coverages)

- Author: Vishal Telangre
- Published: April 11, 2018
- Categories: Ruby 2.5, Ruby

Ruby 2.5 has added support to measure branch and method coverage using
\`Coverage\` library.

### Gpg decryption without pin entry pop up using GPGME

[Gpg decryption without pin entry pop up using GPGME](https://www.bigbinary.com/blog/gpg-decryption-without-pin-entry-pop-up-using-gpgme)

- Author: Sushant Mittal
- Published: March 27, 2018
- Categories: Rails

Gpg decryption without pin entry pop up using GPGME

### Practical usage of identity function

[Practical usage of identity function](https://www.bigbinary.com/blog/practical-usage-of-identity-function)

- Author: Rohit Kumar
- Published: March 20, 2018
- Categories: Misc

Practical usage of identity function

### Ruby 2.5 adds Exception#full_message method

[Ruby 2.5 adds Exception#full_message method](https://www.bigbinary.com/blog/ruby-2-5-adds-exception-full_message-method)

- Author: Vishal Telangre
- Published: March 13, 2018
- Categories: Ruby 2.5, Ruby

Ruby 2.5 has added Exception#full_message method to retrieve a string expression
of an exception, formatted in the same way with that Ruby prints an uncaught
exception out.

### Ruby 2.5 prints backtrace & error message in reverse

[Ruby 2.5 prints backtrace & error message in reverse](https://www.bigbinary.com/blog/ruby-2-5-prints-backstrace-and-error-message-in-reverse-order)

- Author: Vishal Telangre
- Published: March 7, 2018
- Categories: Ruby 2.5, Ruby

Ruby 2.5 prints backtrace in reverse order (stack frames first and error last)
if STDERR is unchanged and a TTY.

### Setup path based routing for a Rails app with HAProxy Ingress

[Setup path based routing for a Rails app with HAProxy Ingress](https://www.bigbinary.com/blog/using-haproxy-ingress-with-rails-uniconrn-and-websockets)

- Author: Rahul Mahale
- Published: February 28, 2018
- Categories: Kubernetes, Rails

Deploying Ruby on Rails application using HAProxy Ingress with unicorn/puma and
websockets on Kubernetes.

### Rails 5.2 default option to module & class attribute accessors

[Rails 5.2 default option to module & class attribute accessors](https://www.bigbinary.com/blog/rails-5-2-adds-default-options-to-module-and-class-attribute-accessors)

- Author: Vishal Telangre
- Published: February 27, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 now supports specifying a default value using 'default' option for the
module and class macros viz. mattr_accessor, mattr_reader, mattr_writer,
cattr_accessor, cattr_reader, and cattr_writer respectively.

### Rails 5.2 specifying default value for class_attribute

[Rails 5.2 specifying default value for class_attribute](https://www.bigbinary.com/blog/rails-5-2-supports-specifying-default-value-for-a-class_attribute)

- Author: Vishal Telangre
- Published: February 21, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 now supports specifying a default value for the class attributes
defined using \`class_attribute\`.

### Ruby 2.5 added Hash#slice method

[Ruby 2.5 added Hash#slice method](https://www.bigbinary.com/blog/ruby-2-5-added-hash-slice-method)

- Author: Amit Choudhary
- Published: February 6, 2018
- Categories: Ruby 2.5, Ruby

Hash#slice method is added in Ruby 2.5

### Ruby 2.5 allows creating structs with keyword arguments

[Ruby 2.5 allows creating structs with keyword arguments](https://www.bigbinary.com/blog/ruby-2-5-allows-creating-structs-with-keyword-arguments)

- Author: Prathamesh Sonpatki
- Published: January 16, 2018
- Categories: Ruby 2.5, Ruby

We can now create structs by passing keyword arguments using a flag keyword_init

### Rails 5.2 allows mailers to use custom Active Job class

[Rails 5.2 allows mailers to use custom Active Job class](https://www.bigbinary.com/blog/rails-5-2-allows-mailers-to-use-custom-active-job-class)

- Author: Prathamesh Sonpatki
- Published: January 15, 2018
- Categories: Rails 5.2, Rails

Rails now allows to configure a job class for a mailer so that we can use custom
Active Job classes per mailer

### 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.

### Ruby 2.5 adds Hash#transform_keys method

[Ruby 2.5 adds Hash#transform_keys method](https://www.bigbinary.com/blog/ruby-2-5-adds-hash-transform_keys-method)

- Author: Prathamesh Sonpatki
- Published: January 9, 2018
- Categories: Ruby 2.5, Ruby

Neat way to transform keys of the Hash, now natively supported by Ruby

### Rails 5.2 pass request params to Action Mailer previews

[Rails 5.2 pass request params to Action Mailer previews](https://www.bigbinary.com/blog/rails-5-2-allows-passing-request-params-to-action-mailer-previews)

- Author: Prathamesh Sonpatki
- Published: January 8, 2018
- Categories: Rails 5.2, Rails

A neat way to pass the params to the Action Mailer previews directly for better
debugging

### Ruby 2.5 enumerable predicates accept pattern argument

[Ruby 2.5 enumerable predicates accept pattern argument](https://www.bigbinary.com/blog/ruby-2-5-enumerable-predicates-accept-pattern-argument)

- Author: Prathamesh Sonpatki
- Published: January 2, 2018
- Categories: Ruby 2.5, Ruby

all?, any?, one? and none? method accept a single pattern argument and perform
case equality with that argument and it's contents

### Rails 5.2 adds bootsnap to the app to speed up boot time

[Rails 5.2 adds bootsnap to the app to speed up boot time](https://www.bigbinary.com/blog/rails-5-2-adds-bootsnap-to-the-app-to-speed-up-boot-time)

- Author: Prathamesh Sonpatki
- Published: January 1, 2018
- Categories: Rails 5.2, Rails

Rails 5.2 adds bootsnap gem to the Gemfile of newly created app so as to speed
up boot time

### Ruby 2.5 requires pp by default

[Ruby 2.5 requires pp by default](https://www.bigbinary.com/blog/ruby-2-5-requires-pp-by-default)

- Author: Prathamesh Sonpatki
- Published: December 20, 2017
- Categories: Ruby 2.5, Ruby

No need to require pp separately now, it is required'd by default

### Array#prepend and Array#append in Ruby 2.5

[Array#prepend and Array#append in Ruby 2.5](https://www.bigbinary.com/blog/array-prepend-and-array-append-in-ruby-2-5)

- Author: Prathamesh Sonpatki
- Published: December 19, 2017
- Categories: Ruby 2.5, Ruby

Better names for existing Array#unshift and Array#push methods

### Ruby 2.5 added yield_self

[Ruby 2.5 added yield_self](https://www.bigbinary.com/blog/ruby-2-5-added-yield_self)

- Author: Vijay Kumar Agrawal
- Published: December 12, 2017
- Categories: Ruby 2.5, Ruby

Method to yield the receiver to the given block.

### Rails 5.2 fetch_values for HashWithIndifferentAccess

[Rails 5.2 fetch_values for HashWithIndifferentAccess](https://www.bigbinary.com/blog/rails-5-2-implements-fetch_values-for-hashwithindifferentaccess)

- Author: Mohit Natoo
- Published: December 6, 2017
- Categories: Rails 5.2, Rails

Starting Rails 5.2 we'll be able to make use of fetch_values
HashWithIndifferentAccess analogous to its use on Hash.

### Ruby 2.5 added delete_prefix and delete_suffix methods

[Ruby 2.5 added delete_prefix and delete_suffix methods](https://www.bigbinary.com/blog/ruby-2-5-added-delete_prefix-and-delete_suffix-methods)

- Author: Amit Choudhary
- Published: November 28, 2017
- Categories: Ruby 2.5, Ruby

delete_prefix and delete_suffix methods are added in Ruby 2.5

### Ruby 2.5 introduces Dir.children and Dir.each_child

[Ruby 2.5 introduces Dir.children and Dir.each_child](https://www.bigbinary.com/blog/ruby-2_5-introduces-dir-children-and-dir-each_child)

- Author: Mohit Natoo
- Published: November 21, 2017
- Categories: Ruby 2.5, Ruby

Ruby 2.5 introduces methods new methods to have file names in a directory
without \`.\` and \`..\`

### 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

### Rails 5.1 doesn't load all records on calling Model.all#inspect

[Rails 5.1 doesn't load all records on calling Model.all#inspect](https://www.bigbinary.com/blog/do-no-load-all-records-on-activerecord-relation-inspect)

- Author: Mohit Natoo
- Published: November 14, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 limits number of records while calling inspect on
ActiveRecord::Relation object.

### Fixing CORS issue with AWS services

[Fixing CORS issue with AWS services](https://www.bigbinary.com/blog/fixing-cors-issue-with-aws-services)

- Author: Narendra Rajput
- Published: October 31, 2017
- Categories: Misc

Explains how to fix the CORS issue when working with AWS Cloudfront and S3

### Ruby 2.5 allows rescue/else/ensure inside do/end blocks

[Ruby 2.5 allows rescue/else/ensure inside do/end blocks](https://www.bigbinary.com/blog/ruby-2.5-allows-rescue-inside-do-end-blocks)

- Author: Amit Choudhary
- Published: October 24, 2017
- Categories: Ruby 2.5, Ruby

rescue/else/ensure are allowed inside do/end blocks in ruby 2.5

### Rails adds accurate numerical validation

[Rails adds accurate numerical validation](https://www.bigbinary.com/blog/rails-now-avoids-converting-integer-as-a-string-into-float-when-validating-numericality)

- Author: Sushant Mittal
- Published: October 23, 2017
- Categories: Rails

Rails now avoids converting integer as a string into float when validating
numericality

### Ruby 2.5 has removed top level constant lookup

[Ruby 2.5 has removed top level constant lookup](https://www.bigbinary.com/blog/ruby-2.5-has-removed-top-level-constant-lookup)

- Author: Amit Choudhary
- Published: October 18, 2017
- Categories: Ruby 2.5, Ruby

top level constant lookup has been removed in ruby 2.5

### Scheduling pods on nodes in Kubernetes using labels

[Scheduling pods on nodes in Kubernetes using labels](https://www.bigbinary.com/blog/scheduling-pods-on-nodes-in-kubernetes-using-labels)

- Author: Rahul Mahale
- Published: October 16, 2017
- Categories: Kubernetes

Blog post on how to assign pods to specific nodes on Kubernetes

### Integrate SAML with many IDPs with Devise & OmniAuth

[Integrate SAML with many IDPs with Devise & OmniAuth](https://www.bigbinary.com/blog/saml-integration-with-multiple-idps-using-devise-omniauth)

- Author: Vijay Kumar Agrawal
- Published: October 11, 2017
- Categories: Rails

How to enable SSO using SAML service provider for multiple IDPs

### Rails 5.2 expiry option for signed & encrypted cookies

[Rails 5.2 expiry option for signed & encrypted cookies](https://www.bigbinary.com/blog/expirty-option-for-signed-and-encrypted-cookies-in-Rails-5-2)

- Author: Mohit Natoo
- Published: October 9, 2017
- Categories: Rails 5.2, Rails

Rails 5.2 adds expiry option for signed and encrypted cookies and adds relative
expiry time

### Optimize JavaScript code for composability with Ramda.js

[Optimize JavaScript code for composability with Ramda.js](https://www.bigbinary.com/blog/optimize-javascript-code-for-composability-with-ramdajs)

- Author: Neeraj Singh
- Published: October 6, 2017
- Categories: JavaScript

Optimize JavaScript code for composability with Ramda.js

### Elm Conf 2017 Summary

[Elm Conf 2017 Summary](https://www.bigbinary.com/blog/elm-conf-2017-summary)

- Author: Prathamesh Sonpatki
- Published: October 4, 2017
- Categories: Misc

Summary of Elm Conf 2017 that took place on Sept. 28 2017 in St. Loius, MO, USA

### 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

### CSV::Row#each etc. return enumerator when no block given

[CSV::Row#each etc. return enumerator when no block given](https://www.bigbinary.com/blog/csv-row-each-and-delete-if-return-enumerator-when-no-block-given)

- Author: Sushant Mittal
- Published: September 25, 2017
- Categories: Ruby 2.4, Ruby

CSV::Row#each, CSV::Row#delete_if, CSV::Table#each and CSV::Table#delete_if
return enumerator when no block given

### Ruby 2.4 DateTime#to_time & Time#to_time keeps info

[Ruby 2.4 DateTime#to_time & Time#to_time keeps info](https://www.bigbinary.com/blog/to-time-preserves-time-zone-info-in-ruby-2-4)

- Author: Sushant Mittal
- Published: September 19, 2017
- Categories: Ruby 2.4, Ruby

DateTime#to_time and Time#to_time preserves receiver's timezone offset info in
Ruby 2.4

### Using Recompose to build higher-order components

[Using Recompose to build higher-order components](https://www.bigbinary.com/blog/using-recompose-to-build-higher-order-components)

- Author: Arbaaz
- Published: September 12, 2017
- Categories: ReactJS

By the end of this blog you’ll learn how to use Recompose and improve the
readability of your code.

### 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

### Graceful shutdown of Sidekiq processes on Kubernetes

[Graceful shutdown of Sidekiq processes on Kubernetes](https://www.bigbinary.com/blog/graceful-shutdown-of-sidekiq-processes-on-k8s)

- Author: Rahul Mahale
- Published: August 24, 2017
- Categories: Kubernetes

Blog post on how to handle graceful shutdown of processes like Sidekiq on
Kubernetes

### New Syntax for HTML Tag helpers in Rails 5.1

[New Syntax for HTML Tag helpers in Rails 5.1](https://www.bigbinary.com/blog/new-syntax-for-tag-helpers-in-rails-5-1)

- Author: Prathamesh Sonpatki
- Published: August 23, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 introduces new shorter syntax for HTML tag helpers

### Avoid exception for dup on Integer

[Avoid exception for dup on Integer](https://www.bigbinary.com/blog/avoid-exceptions-for-dup-on-interger-and-similar-cases)

- Author: Rohit Arolkar
- Published: August 1, 2017
- Categories: Ruby 2.4, Ruby

dup now silently fails for Integer

### Deploy Rails apps on Kubernetes cluster & no downtime

[Deploy Rails apps on Kubernetes cluster & no downtime](https://www.bigbinary.com/blog/deploying-rails-applications-using-kubernetes-with-zero-downtime)

- Author: Rahul Mahale
- Published: July 25, 2017
- Categories: Kubernetes

Deploying Rails applications on Kubernetes cluster with Zero downtime

### Rails 5.1 enhances ActiveSupport::TimeZone.country_zones

[Rails 5.1 enhances ActiveSupport::TimeZone.country_zones](https://www.bigbinary.com/blog/rails-5-1-returns-unmapped-timezones-from-activesupport-timezone-country_zones)

- Author: Narendra Rajput
- Published: July 18, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 now returns unmapped timezones from
ActiveSupport::TimeZone.country_zones with supplied TZInfo identifier instead of
empty response

### Difference between type and type alias in Elm

[Difference between type and type alias in Elm](https://www.bigbinary.com/blog/difference-between-type-and-type-alias-in-elm)

- Author: Neeraj Singh
- Published: July 12, 2017
- Categories: Misc

type alias vs type in Elm

### Ruby 2.4 no exception for objects converted to IPAddr

[Ruby 2.4 no exception for objects converted to IPAddr](https://www.bigbinary.com/blog/ruby-2-4-ip-addr-methods-do-not-throw-exception-for-objects-that-cant-be-converted-to-ipaddr)

- Author: Sushant Mittal
- Published: June 21, 2017
- Categories: Ruby 2.4, Ruby

IPAddr#== and IPAddr# do not throw exception for objects that can't be converted
to IPAddr anymore in Ruby 2.4

### Rails 5.1 dropped jQuery dependency in default stack

[Rails 5.1 dropped jQuery dependency in default stack](https://www.bigbinary.com/blog/rails-5-1-has-dropped-dependency-on-jquery-from-the-default-stack)

- Author: Neeraj Singh
- Published: June 20, 2017
- Categories: Rails 5.1, Rails

jQuery dropped as a dependency from Rails 5.1 onwards and replaced by a vanilla
rails-ujs driver for the unobtrusive JavaScript helpers

### Ruby 2.4 deprecated constants TRUE, FALSE & NIL

[Ruby 2.4 deprecated constants TRUE, FALSE & NIL](https://www.bigbinary.com/blog/ruby-2-4-has-depecated-constants-true-false-and-nil)

- Author: Akshay Vishnoi
- Published: June 19, 2017
- Categories: Ruby 2.4, Ruby

Ruby 2.4 has deprecated toplevel constants TRUE, FALSE and NIL

### Rails using db:migrate & db:seed on Kubernetes

[Rails using db:migrate & db:seed on Kubernetes](https://www.bigbinary.com/blog/managing-rails-tasks-such-as-db-migrate-and-db-seed-on-kuberenetes-while-performing-rolling-deployments)

- Author: Vishal Telangre
- Published: June 16, 2017
- Categories: Kubernetes, Rails

Managing Rails tasks such as 'db:migrate' and 'db:seed' on Kubernetes while
performing rolling deployments

### Ruby 2.4 allows custom suffix of rotated log files

[Ruby 2.4 allows custom suffix of rotated log files](https://www.bigbinary.com/blog/ruby-2-4-allows-to-customize-suffix-of-the-rotated-log-files)

- Author: Sushant Mittal
- Published: June 15, 2017
- Categories: Ruby 2.4, Ruby

Ruby 2.4 has added ability to pass custom date format for the suffix of log
files rotated daily, weekly or monthly

### Ruby 2.4 Hash#transform_values & destructive version

[Ruby 2.4 Hash#transform_values & destructive version](https://www.bigbinary.com/blog/ruby-2-4-added-hash-transform-values-and-its-destructive-version-from-active-support)

- Author: Sushant Mittal
- Published: June 14, 2017
- Categories: Ruby 2.4, Ruby

In Ruby 2.4, Hash#transform_values and Hash#transform_values! can be used to
transform the values after executing passed block for each value

### Prettier & rubocop in Rails to format JS, CSS & Ruby

[Prettier & rubocop in Rails to format JS, CSS & Ruby](https://www.bigbinary.com/blog/using-prettier-and-rubocop-in-ruby-on-rails-to-format-javascript-css-ruby-files)

- Author: Neeraj Singh
- Published: June 12, 2017
- Categories: JavaScript

Using prettier and rubocop in Ruby on Rails application to format JavaScript,
CSS and Ruby files

### Rails 5.1 adds delegate_missing_to

[Rails 5.1 adds delegate_missing_to](https://www.bigbinary.com/blog/rails-5-1-adds-delegate-missing-to)

- Author: Neeraj Singh
- Published: May 30, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 has introduced \`Module#delegate_missing_to\` to keep decorators more
clearer

### Kubernetes Configmap with files to deploy Rails apps

[Kubernetes Configmap with files to deploy Rails apps](https://www.bigbinary.com/blog/using-kubernetes-configmap-with-configuration-files-for-deploying-rails-app)

- Author: Rahul Mahale
- Published: May 25, 2017
- Categories: Kubernetes

Using Kubernetes Configmap with configuration files for deploying Rails
applications

### Rails 5.1 adds support for limit in batch processing

[Rails 5.1 adds support for limit in batch processing](https://www.bigbinary.com/blog/rails-5-1-adds-support-for-limit-in-batch-processing)

- Author: Mohit Natoo
- Published: May 23, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 can now limit the number of records fetched for batch processing.

### Rails 5.1 doesn't share thread_mattr_accessor variable

[Rails 5.1 doesn't share thread_mattr_accessor variable](https://www.bigbinary.com/blog/rails-5-1-does-not-share-thread-mattr-accessor-variable-with-sub-class)

- Author: Mohit Natoo
- Published: May 16, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 now does not share the variable defined by thread_mattr_accessor with
subclass.

### Rails 5.1 introduced assert_changes and assert_no_changes

[Rails 5.1 introduced assert_changes and assert_no_changes](https://www.bigbinary.com/blog/rails-5-1-introduced-assert_changes-and-assert_no_changes)

- Author: Narendra Rajput
- Published: May 9, 2017
- Categories: Rails 5.1, Rails

The BigBinary team's lesson on introduced assert_changes and assert_no_changes
in Rails 5.1

### Forward ActiveRecord::Relation#count to Enumerable#count

[Forward ActiveRecord::Relation#count to Enumerable#count](https://www.bigbinary.com/blog/forwarding-active-record-relation-count-to-enumerable-count)

- Author: Rohit Arolkar
- Published: May 1, 2017
- Categories: Rails 5.1, Rails

Forward ActiveRecord::Relation#count to Enumerable#count if block given

### Rails 5.1 has introduced Date#all_day helper

[Rails 5.1 has introduced Date#all_day helper](https://www.bigbinary.com/blog/rails-5-1-has-introduced-date-all_day-helper)

- Author: Prathamesh Sonpatki
- Published: April 24, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 has introduced a helper method for creating a range object covering
the whole day for given date

### Binding irb - Runtime Invocation for IRB

[Binding irb - Runtime Invocation for IRB](https://www.bigbinary.com/blog/binding-irb)

- Author: Rohit Arolkar
- Published: April 18, 2017
- Categories: Ruby 2.4, Ruby

Ruby now has a core IRB library for better debugging

### Kubernetes Persistent volume to store persistent data

[Kubernetes Persistent volume to store persistent data](https://www.bigbinary.com/blog/using-kubernetes-persistent-volume-for-persistent-data-storage)

- Author: Rahul Mahale
- Published: April 12, 2017
- Categories: Kubernetes

This post summarizes how to use the Kubernetes persistent volume in the
deployment

### 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

### New arguments support for float & integer modifiers

[New arguments support for float & integer modifiers](https://www.bigbinary.com/blog/new-ndigits-arguments-supported-for-float-modifiers-in-ruby-2-4)

- Author: Abhishek Jain
- Published: March 28, 2017
- Categories: Ruby 2.4, Ruby

Optional argument ndigits added to ceil, floor, truncate

### Ruby 2.4 adds Enumerable#uniq & Enumerable::Lazy#uniq

[Ruby 2.4 adds Enumerable#uniq & Enumerable::Lazy#uniq](https://www.bigbinary.com/blog/enumerable-uniq-and-enumerable-lazy-uniq-part-of-ruby-2-4)

- Author: Mohit Natoo
- Published: March 21, 2017
- Categories: Ruby 2.4, Ruby

In Ruby 2.4, uniq elements can be iterated upon for enumerable and lazy objects
without creating an array.

### 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 now has Dir.empty? and File.empty? methods

[Ruby 2.4 now has Dir.empty? and File.empty? methods](https://www.bigbinary.com/blog/dir-emtpy-included-in-ruby-2-4)

- Author: Ratnadeep Deshmane
- Published: February 28, 2017
- Categories: Ruby 2.4, Ruby

No more platform specific code to check empty directories

### Ruby 2.4 Integer#digits extract digits in place-value

[Ruby 2.4 Integer#digits extract digits in place-value](https://www.bigbinary.com/blog/ruby-2-4-implements-integer-digits-for-extracting-digits-in-place-value-notation)

- Author: Rohit Kumar
- Published: February 23, 2017
- Categories: Ruby 2.4, Ruby

Ruby 2.4 implements Integer#digits for extracting digits in place-value notation
which is useful in calculating checksum digits.

### 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

### Ruby 2.4 MatchData#values_at

[Ruby 2.4 MatchData#values_at](https://www.bigbinary.com/blog/ruby-2.4-adds-matchdata-values-at-for-extracting-named-and-positional-capture-groups)

- Author: Rohit Kumar
- Published: December 21, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 adds ability to extract named capture groups through values_at

### Ruby 2.4 adds infinite? and finite? methods to Numeric

[Ruby 2.4 adds infinite? and finite? methods to Numeric](https://www.bigbinary.com/blog/ruby-2-4-adds-infinite-method-to-numeric)

- Author: Abhishek Jain
- Published: December 19, 2016
- Categories: Ruby 2.4, Ruby

Fixnum#infinite?/Bignum#infinite? and Numeric#finite?/Bignum#finite? methods are
now consistent with Float#infinite?/BigDecimal#infinite?

### Ruby 2.4 adds Comparable#clamp method

[Ruby 2.4 adds Comparable#clamp method](https://www.bigbinary.com/blog/ruby-2-4-adds-comparable-clamp-method)

- Author: Abhishek Jain
- Published: December 13, 2016
- Categories: Ruby 2.4, Ruby

Comparable#clamp method is added to Ruby 2.4 to limit the object to a specific
range of values

### New liberal_parsing option for parsing bad CSV data

[New liberal_parsing option for parsing bad CSV data](https://www.bigbinary.com/blog/ruby-2-4-introduces-liberal_parsing-option-for-parsing-bad-csv-data)

- Author: Ershad Kunnakkadan
- Published: November 22, 2016
- Categories: Ruby 2.4, Ruby

CSV input with unescaped double quotes can now be parsed in Ruby 2.4 using
liberal_parsing option

### Enumerable#chunk not mandatory in Ruby 2.4

[Enumerable#chunk not mandatory in Ruby 2.4](https://www.bigbinary.com/blog/passing-block-with-enumerable-chunk-is-not-mandatory-in-ruby-2-4)

- Author: Abhishek Jain
- Published: November 21, 2016
- Categories: Ruby 2.4, Ruby

Enumerable#chunk does not require a block to be passed along with it in Ruby 2.4

### Ruby 2.4 unifies Fixnum and Bignum into Integer

[Ruby 2.4 unifies Fixnum and Bignum into Integer](https://www.bigbinary.com/blog/ruby-2-4-unifies-fixnum-and-bignum-into-integer)

- Author: Prathamesh Sonpatki
- Published: November 18, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 has unified Fixnum and Bignum into Integer class. It has also
deprecated usage of Fixnum and Bignum

### Ruby 2.4 implements Array#min and Array#max

[Ruby 2.4 implements Array#min and Array#max](https://www.bigbinary.com/blog/ruby-2-4-implements-array-min-and-max)

- Author: Rohit Kumar
- Published: November 17, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 implements Array#min and Array#max to find the minimum and maximum
value of the array

### Hunting down a memory leak in shoryuken

[Hunting down a memory leak in shoryuken](https://www.bigbinary.com/blog/hunting-down-a-memory-leak-in-shoryuken)

- Author: Rohit Kumar
- Published: November 15, 2016
- Categories: Ruby

Hunting down a memory leak in shoryuken worker

### Ruby 2.4 Extracting captured data from Regexp results

[Ruby 2.4 Extracting captured data from Regexp results](https://www.bigbinary.com/blog/ruby-2-4-adds-better-support-for-extracting-captured-data-from-regexp-match-results)

- Author: Rohit Kumar
- Published: November 10, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 adds support for extracting named captures and positional capture
groups from Regexp match results

### Ruby 2.4 Regexp#match? not polluting global variables

[Ruby 2.4 Regexp#match? not polluting global variables](https://www.bigbinary.com/blog/ruby-2-4-implements-regexp-match-without-polluting-global-variables)

- Author: Rohit Kumar
- Published: November 4, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 now allows matching a regex without updating global variables using
Regexp#match?. This is a faster option to match regexes when we don't care about
the match data

### Ruby 2.4 implements Enumerable#sum

[Ruby 2.4 implements Enumerable#sum](https://www.bigbinary.com/blog/ruby-2-4-introduces-enumerable-sum)

- Author: Mohit Natoo
- Published: November 2, 2016
- Categories: Ruby 2.4, Ruby

In Ruby 2.4, every object belonging to the \`Enumerable\` family can now call
\`sum\` method on it

### String#concat, Array#concat & String#prepend Ruby 2.4

[String#concat, Array#concat & String#prepend Ruby 2.4](https://www.bigbinary.com/blog/string-array-concat-and-string-prepend-take-multiple-arguments-in-ruby-2-4)

- Author: Abhishek Jain
- Published: October 28, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 now allows concat and prepend methods to take multiple arguments

### Hash#compact and Hash#compact! now part of Ruby 2.4

[Hash#compact and Hash#compact! now part of Ruby 2.4](https://www.bigbinary.com/blog/hash-compact-and-hash-compact-now-part-of-ruby-2-4)

- Author: Prathamesh Sonpatki
- Published: October 24, 2016
- Categories: Ruby 2.4, Ruby

Ruby 2.4 has added Hash#compact and Hash#compact! methods into core

### Rails 5 blogs and the art of story telling

[Rails 5 blogs and the art of story telling](https://www.bigbinary.com/blog/rails-5-blogs-and-the-art-of-story-telling)

- Author: Neeraj Singh
- Published: September 19, 2016
- Categories: Misc, Rails

Rails 5 blogs and the art of story telling

### Rails 5 Create module and class level variables

[Rails 5 Create module and class level variables](https://www.bigbinary.com/blog/rails-5-adds-ability-to-create-module-and-class-level-variables-on-per-thread-basis)

- Author: Abhishek Jain
- Published: September 5, 2016
- Categories: Rails 5, Rails

In Rails 5, we can create specific class and module variables that live for the
lifetime of a thread

### Rails 5 silences assets logs in dev mode by default

[Rails 5 silences assets logs in dev mode by default](https://www.bigbinary.com/blog/rails-5-silences-assets-logs-in-development-mode-by-default)

- Author: Midhun Krishna
- Published: September 2, 2016
- Categories: Rails 5, Rails

quiet_assets gem used for silencing logging of assets in the development mode is
now part of Rails 5

### Rails 5 disables autoloading while app in production

[Rails 5 disables autoloading while app in production](https://www.bigbinary.com/blog/rails-5-disables-autoloading-after-booting-the-app-in-production)

- Author: Shailesh Kalamkar
- Published: August 29, 2016
- Categories: Rails 5, Rails

In Rails 5 autoloading is disbaled after booting the app in production mode by
default

### Rails 5 adds more control to fine tuning SSL usage

[Rails 5 adds more control to fine tuning SSL usage](https://www.bigbinary.com/blog/rails-5-adds-more-control-to-fine-tuning-ssl-usage)

- Author: Srihari K
- Published: August 24, 2016
- Categories: Rails 5, Rails

Rails 5 gives finer control over HSTS header and has cleaned up options for
using SSL

### Rails 5 Discard some flash messages to trim storage

[Rails 5 Discard some flash messages to trim storage](https://www.bigbinary.com/blog/rails-5-trims-session-storage-by-discarding-some-flash-messages)

- Author: Abhishek Jain
- Published: August 23, 2016
- Categories: Rails 5, Rails

Rails 5 trims down session storage by removing discarded flash messages before
persisting into the session

### Rails 5 deprecates alias_method_chain

[Rails 5 deprecates alias_method_chain](https://www.bigbinary.com/blog/rails-5-deprecates-alias-method-chain)

- Author: Neeraj Singh
- Published: August 21, 2016
- Categories: Rails 5, Rails

Rails 5 deprecates alias_method_chain in favor of Ruby's builtin method.

### New framework defaults in Rails 5 to make upgrade easier

[New framework defaults in Rails 5 to make upgrade easier](https://www.bigbinary.com/blog/new-framework-defaults-in-rails-5-to-make-upgrade-easier)

- Author: Srihari K
- Published: August 18, 2016
- Categories: Rails 5, Rails

Rails 5 adds feature flags for all the breaking changes to make upgrade process
easier

### Rails 5 Wildcard for specifying template dependencies

[Rails 5 Wildcard for specifying template dependencies](https://www.bigbinary.com/blog/rails-5-allows-wildcard-for-specifying-template-dependencies)

- Author: Abhishek Jain
- Published: August 17, 2016
- Categories: Rails 5, Rails

We can now use wildcard for adding all template dependencies from a directory
rather than adding files one by one for cache digests

### Rails 5 Passing records to fresh_when and stale?

[Rails 5 Passing records to fresh_when and stale?](https://www.bigbinary.com/blog/rails-5-supports-passing-collection-of-records-to-fresh_when-and-stale)

- Author: Ershad Kunnakkadan
- Published: August 16, 2016
- Categories: Rails 5, Rails

Rails 5 adds support to pass collection of records to fresh_when and stale? for
improved caching

### Set model name in fixtures as metadata

[Set model name in fixtures as metadata](https://www.bigbinary.com/blog/set-model-name-in-fixtures-as-metadata)

- Author: Srihari K
- Published: August 9, 2016
- Categories: Rails 5, Rails

In Rails 5 model name can be set as metadata in the fixture file, rather than
being infered from the fixture filename.

### Configuring CircleCI for JRuby

[Configuring CircleCI for JRuby](https://www.bigbinary.com/blog/how-to-configure-circle-ci-for-jruby)

- Author: Ershad Kunnakkadan
- Published: August 1, 2016
- Categories: Ruby

In this blog we discuss how to configure Circle CI for JRuby.

### Introduction to ES6 generators

[Introduction to ES6 generators](https://www.bigbinary.com/blog/introduction-to-es6-generators)

- Author: Arbaaz
- Published: August 1, 2016
- Categories: JavaScript

In this blog, we will explore ES6 generators with examples.

### 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

### ActionController::Parameters in Rails 5

[ActionController::Parameters in Rails 5](https://www.bigbinary.com/blog/parameters-no-longer-inherit-from-hash-with-indifferent-access-in-rails-5)

- Author: Rohit Arolkar
- Published: July 25, 2016
- Categories: Rails 5, Rails

ActionController::Parameters will throw deprecation warnings if we treat
ActionController::Parameters as hash.

### Rails 5 solves ambiguous column issue

[Rails 5 solves ambiguous column issue](https://www.bigbinary.com/blog/rails-5-fixes-ambiguous-cloumn-name-for-projected-fields-in-group-by-query)

- Author: Abhishek Jain
- Published: July 21, 2016
- Categories: Rails 5, Rails

We now don't have to provide a table name in quoted string for fetching fields
which are present in join table as well when used with group by clause

### Rails 5 Expression Indexes & Operator Classes support

[Rails 5 Expression Indexes & Operator Classes support](https://www.bigbinary.com/blog/rails-5-adds-support-for-expression-indexes-for-postgresql)

- Author: Midhun Krishna
- Published: July 20, 2016
- Categories: Rails 5, Rails

Active Record index creation api support adding expression indexes

### Attach arbitrary metadata to an Active Job in Rails 5

[Attach arbitrary metadata to an Active Job in Rails 5](https://www.bigbinary.com/blog/attach-arbitrary-metadata-to-an-active-job-in-rails-5)

- Author: Midhun Krishna
- Published: July 18, 2016
- Categories: Rails 5, Rails

We can add arbitrary metadata to Active Job while it is serialized and read it
back when the job is performed in Rails 5

### Partial template name without Ruby identifier Rails 5

[Partial template name without Ruby identifier Rails 5](https://www.bigbinary.com/blog/rails-5-partial-template-name-need-not-be-a-valid-ruby-identifier)

- Author: Prajakta Tambe
- Published: July 14, 2016
- Categories: Rails 5, Rails

Partial template can have any name which starts with underscore in Rails 5

### Rails 5 Passing current record for custom error

[Rails 5 Passing current record for custom error](https://www.bigbinary.com/blog/rails-5-allows-passing-record-to-error-message-generator)

- Author: Hitesh Rawal
- Published: July 13, 2016
- Categories: Rails 5, Rails

We can now pass the validated record to the proc for generating a custom error
message.

### Platform specific styles in stylesheet, React Native

[Platform specific styles in stylesheet, React Native](https://www.bigbinary.com/blog/apply-platform-specific-styles-in-stylesheet-react-native)

- Author: Bilal Budhani
- Published: July 12, 2016
- Categories: React Native

Apply platform specific styles in stylesheet in React Native

### User agent or custom header in React Native WebView

[User agent or custom header in React Native WebView](https://www.bigbinary.com/blog/passing-user-agent-or-custom-header-in-react-native-webview)

- Author: Neeraj Singh
- Published: July 10, 2016
- Categories: React Native

Change header or footer in React Native webview app using custom user agent

### Skip mailers while generating Rails 5 app

[Skip mailers while generating Rails 5 app](https://www.bigbinary.com/blog/skip-mailers-while-generating-rails-5-app)

- Author: Abhishek Jain
- Published: July 8, 2016
- Categories: Rails 5, Rails

We can skip adding mailers and its configuration when generating Rails 5 app

### Errors can be indexed with nested attributes in Rails 5

[Errors can be indexed with nested attributes in Rails 5](https://www.bigbinary.com/blog/errors-can-be-indexed-with-nested-attrbutes-in-rails-5)

- Author: Abhishek Jain
- Published: July 7, 2016
- Categories: Rails 5, Rails

We can now opt to index errors on nested attributes in Rails 5

### Rails 5 Conversion when deep munging params

[Rails 5 Conversion when deep munging params](https://www.bigbinary.com/blog/rails-5-does-not-convert-blank-array-to-nil-in-deep-munging)

- Author: Mohit Natoo
- Published: July 6, 2016
- Categories: Rails 5, Rails

Rails 5 persists with the empty are in deep munging and does not convert it to
nil.

### Specific mime types in controller tests in Rails 5

[Specific mime types in controller tests in Rails 5](https://www.bigbinary.com/blog/use-as-option-to-encode-request-with-specific-mime-type-in-rails-5)

- Author: Abhishek Jain
- Published: July 5, 2016
- Categories: Rails 5, Rails

We can provide a specific mime type to a request using \`as\` option in Rails 5

### Default response with 204 No Content in Rails 5

[Default response with 204 No Content in Rails 5](https://www.bigbinary.com/blog/controller-actions-default-no-content-in-rails-5-if-template-is-missing)

- Author: Abhishek Jain
- Published: July 3, 2016
- Categories: Rails 5, Rails

Controller actions will now render 204 No Content when we don't tell Rails how
to generate response

### Rails 5 ensures compatibility with Rack frameworks

[Rails 5 ensures compatibility with Rack frameworks](https://www.bigbinary.com/blog/rails-5-ensures-compatibility-between-action-dispatch-session-and-rack-session)

- Author: Mohit Natoo
- Published: June 30, 2016
- Categories: Rails 5, Rails

Rails 5 introduces \`each\` method in ActionDispatch::Request::Session to ensure
compatibility between Rails and other Rack frameworks.

### Rails 5 supports logging errors with tagged logging

[Rails 5 supports logging errors with tagged logging](https://www.bigbinary.com/blog/rails-5-supports-logging-errors-with-tagged-logging)

- Author: Sharang Dashputre
- Published: June 28, 2016
- Categories: Rails 5, Rails

Rails 5 now generates the application log with log tags applied to errors as
well

### Rails 5 makes sql statements even more colorful

[Rails 5 makes sql statements even more colorful](https://www.bigbinary.com/blog/rails-5-makes-sql-statements-even-more-colorful)

- Author: Abhishek Jain
- Published: June 27, 2016
- Categories: Rails 5, Rails

This new coloration approach makes it easier to scan the rails console for
specific types of SQL activity

### Rails 5 adds helpers method in controllers for ease

[Rails 5 adds helpers method in controllers for ease](https://www.bigbinary.com/blog/rails-add-helpers-method-to-ease-usage-of-helper-modules-in-controllers)

- Author: Abhishek Jain
- Published: June 26, 2016
- Categories: Rails 5, Rails

We can now use helpers method to call helper methods in controller

### Rails 5 supports adding comments in migrations

[Rails 5 supports adding comments in migrations](https://www.bigbinary.com/blog/rails-5-supports-adding-comments-migrations)

- Author: Prajakta Tambe
- Published: June 21, 2016
- Categories: Rails 5, Rails

Rails 5 adds support for database schema comments for tables, columns and
indexes for PostgreSQL and MySQL

### Rails 5 allows UUID as column type in create_join_table

[Rails 5 allows UUID as column type in create_join_table](https://www.bigbinary.com/blog/rails-5-create-join-table-with-uuid)

- Author: Hitesh Rawal
- Published: June 16, 2016
- Categories: Rails 5, Rails

Rails 5 started supporting UUID as a column type in create_join_table.

### Rails 5 adds another base class Application Job for jobs

[Rails 5 adds another base class Application Job for jobs](https://www.bigbinary.com/blog/rails-5-adds-application-jobs-for-jobs)

- Author: Hitesh Rawal
- Published: June 12, 2016
- Categories: Rails 5, Rails

Rails 5 adds explicit base class ApplicationJob for ActiveJob.

### Rails 5 Updating records in AR Relation

[Rails 5 Updating records in AR Relation](https://www.bigbinary.com/blog/rails-5-allows-updating-relation-objects-along-with-callbacks-and-validations)

- Author: Mohit Natoo
- Published: June 10, 2016
- Categories: Rails 5, Rails

Rails 5 modified the ActiveRecord::Relation#update method to now support update
on the relation. It also runs callbacks and validations on the records.

### Rails 5 prevents destructive action on production database

[Rails 5 prevents destructive action on production database](https://www.bigbinary.com/blog/rails-5-prevents-destructive-action-on-production-db)

- Author: Hitesh Rawal
- Published: June 7, 2016
- Categories: Rails 5, Rails

Rails 5 prevents destructive action on production database by keeping
environment version to internal metadata.

### Rails 5 adds finish option in find_in_batches

[Rails 5 adds finish option in find_in_batches](https://www.bigbinary.com/blog/rails-5-provides-finish-option-for-find-in-batches)

- Author: Mohit Natoo
- Published: June 6, 2016
- Categories: Rails 5, Rails

Rails 5 has an option to provide end value in find_in_batches method

### Rails 5 introduces country_zones helper method

[Rails 5 introduces country_zones helper method](https://www.bigbinary.com/blog/rails-5-introduces-helpers-for-country-zones)

- Author: Mohit Natoo
- Published: June 1, 2016
- Categories: Rails 5, Rails

Rails 5 now allows to fetch information about all the timezones in a particular
country by introductin of a new helper method.

### Rails 5 provides fragment caching in Action Mailer views

[Rails 5 provides fragment caching in Action Mailer views](https://www.bigbinary.com/blog/rails-5-provides-fragment-caching-in-action-mailer-view)

- Author: Prajakta Tambe
- Published: May 31, 2016
- Categories: Rails 5, Rails

Templates in rails 5 can use fragment cache like Action View templates

### Rails 5 adds OR support in Active Record

[Rails 5 adds OR support in Active Record](https://www.bigbinary.com/blog/rails-5-adds-or-support-in-active-record)

- Author: Abhishek Jain
- Published: May 30, 2016
- Categories: Rails 5, Rails

We will now be able to perform OR operation in Active Record without having to
write custom SQL.

### Rails 5 ArrayInquirer and checking array contents

[Rails 5 ArrayInquirer and checking array contents](https://www.bigbinary.com/blog/rails-5-introduces-active-support-array-inquirer)

- Author: Mohit Natoo
- Published: May 27, 2016
- Categories: Rails 5, Rails

Rails 5 has wrapped Array in an ArrayInquirer giving us a friendlier way to
check its contents. This post also explains its usage in request variants.

### Rails 5 Renaming transactional fixtures to tests

[Rails 5 Renaming transactional fixtures to tests](https://www.bigbinary.com/blog/rails-5-renamed-transactional-fixtures-to-transactional-tests)

- Author: Mohit Natoo
- Published: May 26, 2016
- Categories: Rails 5, Rails

Rails 5 renamed use_transactional_fixtures method to use_transactional_tests.
This was to make it clear that its functionality has nothing to do with use of
fixtures.

### Data exchange between React Native app and WebView

[Data exchange between React Native app and WebView](https://www.bigbinary.com/blog/send-receive-data-between-react-native-and-webview)

- Author: Bilal Budhani
- Published: May 25, 2016
- Categories: React Native

Send/Receive data between React Native app and WebView

### Rails 5 adds ignored_columns for Active Record

[Rails 5 adds ignored_columns for Active Record](https://www.bigbinary.com/blog/rails-5-adds-active-record-ignored-columns)

- Author: Hitesh Rawal
- Published: May 24, 2016
- Categories: Rails 5, Rails

Rails 5 has implemented ignored_columns method for active record.

### Rails 5 adds a hidden field on collection radio buttons

[Rails 5 adds a hidden field on collection radio buttons](https://www.bigbinary.com/blog/rails-5-add-a-hidden-field-on-collection-radio-buttons)

- Author: Prajakta Tambe
- Published: May 18, 2016
- Categories: Rails 5, Rails

Rails 5 adds a hidden field on collection radio buttons to handle situation when
user submits a form without selecting any radio button.

### Rails 5 Attributes from Active Record to Active Model

[Rails 5 Attributes from Active Record to Active Model](https://www.bigbinary.com/blog/rails-5-moved-assign-attributes-from-activerecord-to-activemodel)

- Author: Mohit Natoo
- Published: May 17, 2016
- Categories: Rails 5, Rails

In Rails 5 we can use attribute assignment outside of Active Record inherited
classes

### Rails 5 Configure Active Job backend adapter for jobs

[Rails 5 Configure Active Job backend adapter for jobs](https://www.bigbinary.com/blog/rails-5-allows-to-inherit-activejob-queue-adapter)

- Author: Mohit Natoo
- Published: May 15, 2016
- Categories: Rails 5, Rails

Rails 5 provides support to configure queue_adapter at job level and this
queue_adapter can be inherited by child jobs.

### Rails 5 accepts 1 or true for acceptance validation

[Rails 5 accepts 1 or true for acceptance validation](https://www.bigbinary.com/blog/rails-5-accepts-1-or-true-for-acceptance-validation)

- Author: Mohit Natoo
- Published: May 13, 2016
- Categories: Rails 5, Rails

Rails 5 now allows accepting true in acceptance validation. Previously only "1"
was accepted in acceptance validation.

### Rails 5 supports bi-directional destroy dependency

[Rails 5 supports bi-directional destroy dependency](https://www.bigbinary.com/blog/Rails-5-supports-bi-directional-destroy-dependency)

- Author: Abhishek Jain
- Published: May 12, 2016
- Categories: Rails 5, Rails

We can now add bi-directional destroy dependency on Rails associations

### Rails 5 adds after_commit callbacks aliases

[Rails 5 adds after_commit callbacks aliases](https://www.bigbinary.com/blog/rails-5-adds-after_create-aliases)

- Author: Hitesh Rawal
- Published: May 11, 2016
- Categories: Rails 5, Rails

Rails 5 Introduces after\_{create,update,delete}\_commit callbacks as aliases
for after_commit.

### Rails 5 Updating a record without updating timestamps

[Rails 5 Updating a record without updating timestamps](https://www.bigbinary.com/blog/rails-5-allows-updating-without-updating-timestamps)

- Author: Abhishek Jain
- Published: May 9, 2016
- Categories: Rails 5, Rails

We can save a record without updating timestamps in Rails 5

### Rails 5 Retrieving info of failed validations

[Rails 5 Retrieving info of failed validations](https://www.bigbinary.com/blog/rails-5-adds-a-way-to-get-information-about-types-of-failed-validations)

- Author: Abhishek Jain
- Published: May 3, 2016
- Categories: Rails 5, Rails

Rails 5 makes it possible to return information about failed validator types
instead of just returning translated error messages as before

### Using Image as a Container in React Native

[Using Image as a Container in React Native](https://www.bigbinary.com/blog/using-image-as-a-container-in-react-native)

- Author: Bilal Budhani
- Published: April 28, 2016
- Categories: React Native

Add background images as container in React Native apps

### Rails 5 - What's in it for me?

[Rails 5 - What's in it for me?](https://www.bigbinary.com/blog/rails-5-webinar)

- Author: Prathamesh Sonpatki
- Published: April 22, 2016
- Categories: Rails 5, Rails

Learn more about upcoming changes in Rails 5 release

### Rails 5 officially supports MariaDB

[Rails 5 officially supports MariaDB](https://www.bigbinary.com/blog/rails-5-official-supports-mariadb)

- Author: Vipul
- Published: April 21, 2016
- Categories: Rails 5, Rails

Rails 5 officially supports MariaDB

### Changes to test controllers in Rails 5

[Changes to test controllers in Rails 5](https://www.bigbinary.com/blog/changes-to-test-controllers-in-rails-5)

- Author: Abhishek Jain
- Published: April 19, 2016
- Categories: Rails 5, Rails

Deprecation of assigns and assert_template in controller tests and usage of
keyword arguments in HTTP methods

### accessed_fields to find active fields in application

[accessed_fields to find active fields in application](https://www.bigbinary.com/blog/accesssed-fields-to-find-actually-used-fileds-in-Rails-5)

- Author: Abhishek Jain
- Published: April 18, 2016
- Categories: Rails 5, Rails

Rails 5 introduces accessed_fields method to determine all the fields that were
accessed on a model while performing some operation

### Rails 5 Warning when fetching with Active Record

[Rails 5 Warning when fetching with Active Record](https://www.bigbinary.com/blog/rails-5-adds-option-to-log-warning-when-fetching-big-result-sets)

- Author: Abhishek Jain
- Published: April 13, 2016
- Categories: Rails 5, Rails

We can now log warning when Active Record tries to fetch the result set greater
than configured limit

### Rails 5 Sending STDOUT via environment variable

[Rails 5 Sending STDOUT via environment variable](https://www.bigbinary.com/blog/rails-5-allows-to-send-log-to-stdout-via-environment-variable)

- Author: Mohit Natoo
- Published: April 12, 2016
- Categories: Rails 5, Rails

Rails 5 has introduced an environment variable, with the help of which logs can
now be directed to STDOUT in production environment.

### Validate multiple contexts together in Rails 5

[Validate multiple contexts together in Rails 5](https://www.bigbinary.com/blog/validate-multiple-contexts-in-rails-5)

- Author: Vijay Kumar Agrawal
- Published: April 8, 2016
- Categories: Rails 5, Rails

Rails 5 enhancement to validate a model on multiple contexts at once

### Rails 5 changes protect_from_forgery execution order

[Rails 5 changes protect_from_forgery execution order](https://www.bigbinary.com/blog/rails-5-default-protect-from-forgery-prepend-false)

- Author: Vijay Kumar Agrawal
- Published: April 6, 2016
- Categories: Rails 5, Rails

The default order of protect_from_forgery is changed from prepend to call order.

### Rails 5 provides config to use UUID as primary key

[Rails 5 provides config to use UUID as primary key](https://www.bigbinary.com/blog/rails-5-provides-application-config-to-use-UUID-as-primary-key)

- Author: Vijay Kumar Agrawal
- Published: April 4, 2016
- Categories: Rails 5, Rails

Rails can use UUID as primary key for all the migrations by setting config.

### Rails 5 changed Active Job default adapter to Async

[Rails 5 changed Active Job default adapter to Async](https://www.bigbinary.com/blog/rails-5-changed-default-active-job-adapter-to-async)

- Author: Mohit Natoo
- Published: March 29, 2016
- Categories: Rails 5, Rails

The default Active Job adapter has been changed to Async from Inline in Rails 5.

### Support for left outer join in Rails 5

[Support for left outer join in Rails 5](https://www.bigbinary.com/blog/support-for-left-outer-joins-in-rails-5)

- Author: Ratnadeep Deshmane
- Published: March 24, 2016
- Categories: Rails 5, Rails

No need of writing SQL in your code every time there is need to do left outer
join

### has_secure_token for unique random token in Rails 5

[has_secure_token for unique random token in Rails 5](https://www.bigbinary.com/blog/has-secure-token-to-generate-unique-random-token-in-rails-5)

- Author: Abhishek Jain
- Published: March 23, 2016
- Categories: Rails 5, Rails

Use has_secure_token to handle creation and regeneration unique random
alphanumeric token

### Suppress save events in Rails 5

[Suppress save events in Rails 5](https://www.bigbinary.com/blog/suppress-save-events-in-rails-5)

- Author: Abhishek Jain
- Published: March 11, 2016
- Categories: Rails 5, Rails

Rails 5 introduces way to suppress save events on a model

### Rails 5 improves rendering partial from cache

[Rails 5 improves rendering partial from cache](https://www.bigbinary.com/blog/rails-5-makes-partial-redering-from-cache-substantially-faster)

- Author: Ratnadeep Deshmane
- Published: March 9, 2016
- Categories: Rails 5, Rails

With the inclusion of multi_fetch_fragments gem in Rails core, Rails 5 improves
page load speeds substantially.

### Rails 5 switches from strong etags to weak etags

[Rails 5 switches from strong etags to weak etags](https://www.bigbinary.com/blog/rails-5-switches-from-strong-etags-to-weak-tags)

- Author: Prajakta Tambe
- Published: March 8, 2016
- Categories: Rails 5, Rails

Rails 5 switches from strong etags to weak etags

### Parameter filtering enhancement in Rails 5

[Parameter filtering enhancement in Rails 5](https://www.bigbinary.com/blog/parameter-filtering-enhacement-rails-5)

- Author: Vijay Kumar Agrawal
- Published: March 7, 2016
- Categories: Rails 5, Rails

Rails 5 enhances parameter filtering of sensitive data appearing in the logs

### Rails 5 adds http_cache_forever

[Rails 5 adds http_cache_forever](https://www.bigbinary.com/blog/rails-5-adds-http-cache-forever)

- Author: Abhishek Jain
- Published: March 4, 2016
- Categories: Rails 5, Rails

Rails 5 introduces way to cache response forever by adding http_cache_forever

### Better exception responses in Rails 5 API apps

[Better exception responses in Rails 5 API apps](https://www.bigbinary.com/blog/better-exception-responses-in-rails-5-api-apps)

- Author: Akshay Mohite
- Published: March 3, 2016
- Categories: Rails 5, Rails

Rails 5 responds with proper responses to exceptions even for API apps with
introduction of new configuration debug_exception_format.

### Use file_fixture to access test files in Rails 5

[Use file_fixture to access test files in Rails 5](https://www.bigbinary.com/blog/use-file_fixture-to-access-test-files-rails-5)

- Author: Ershad Kunnakkadan
- Published: March 2, 2016
- Categories: Rails 5, Rails

Use file_fixture in Rails 5 to access test files

### Migrations are versioned in Rails 5

[Migrations are versioned in Rails 5](https://www.bigbinary.com/blog/migrations-are-versioned-in-rails-5)

- Author: Abhishek Jain
- Published: March 1, 2016
- Categories: Rails 5, Rails

Migrations are versioned from Rails 5 onwards.

### Rails 5 improves redirect_to:back method

[Rails 5 improves redirect_to:back method](https://www.bigbinary.com/blog/rails-5-improves-redirect_to_back-with-redirect-back)

- Author: Abhishek Jain
- Published: February 29, 2016
- Categories: Rails 5, Rails

Rails 5 introduces redirect_back method with fallback_location instead of using
redirect_to:back

### Rails 5 allows configuring queue name for mailers

[Rails 5 allows configuring queue name for mailers](https://www.bigbinary.com/blog/rails-5-allows-configuring-queue-name-for-mailers)

- Author: Abhishek Jain
- Published: February 26, 2016
- Categories: Rails 5, Rails

We can configure queue name for mailers with Rails 5

### Rails 5 handles DateTime with better precision

[Rails 5 handles DateTime with better precision](https://www.bigbinary.com/blog/rails-5-handles-datetime-with-better-precision)

- Author: Abhishek Jain
- Published: February 23, 2016
- Categories: Rails 5, Rails

MYSQL 5.6 and above version have started rounding of the milliseconds and it's
impact and fix with Rails 5.

### Active Support Improvements in Rails 5

[Active Support Improvements in Rails 5](https://www.bigbinary.com/blog/active-support-improvements-in-Rails-5)

- Author: Abhishek Jain
- Published: February 17, 2016
- Categories: Rails 5, Rails

Rails 5 introduces number of new methods in Rails 5

### Rails 5 improves route search with advanced options

[Rails 5 improves route search with advanced options](https://www.bigbinary.com/blog/rails-5-options-for-rake-routes)

- Author: Abhishek Jain
- Published: February 16, 2016
- Categories: Rails 5, Rails

Rails 5 brings additional options for rake routes task to display specific
routes.

### Rails 5 makes belongs_to association required by default

[Rails 5 makes belongs_to association required by default](https://www.bigbinary.com/blog/rails-5-makes-belong-to-association-required-by-default)

- Author: Abhishek Jain
- Published: February 15, 2016
- Categories: Rails 5, Rails

Rails 5 makes it necessary to have belongs_to association record by default.

### Rails 5 doesn't halt callback chain if false is returned

[Rails 5 doesn't halt callback chain if false is returned](https://www.bigbinary.com/blog/rails-5-does-not-halt-callback-chain-when-false-is-returned)

- Author: Abhishek Jain
- Published: February 13, 2016
- Categories: Rails 5, Rails

Preferred way of halting callback chain in Rails 5 is now using throw(:abort)
instead of returning false.

### Configuring bundler using bundle config

[Configuring bundler using bundle config](https://www.bigbinary.com/blog/configuring-bundler-using-bundle-config)

- Author: Prajakta Tambe
- Published: February 9, 2016
- Categories: Rails

Set bundler configuration options via bundle config.

### Using D3 JS with React JS

[Using D3 JS with React JS](https://www.bigbinary.com/blog/using-d3-js-with-react-js)

- Author: Akshay Mohite
- Published: February 4, 2016
- Categories: ReactJS

Using D3JS with ReactJS - an example to plot Line Chart visualization.

### Caching result sets and collection in Rails 5

[Caching result sets and collection in Rails 5](https://www.bigbinary.com/blog/activerecord-relation-cache-key)

- Author: Mohit Natoo
- Published: February 2, 2016
- Categories: Rails 5, Rails

Rails 5 provides cache_key for ActiveRecord::Relation that can help in caching
result of a collection of records.

### Caching in development environment in Rails 5

[Caching in development environment in Rails 5](https://www.bigbinary.com/blog/caching-in-development-environment-in-rails5)

- Author: Mohit Natoo
- Published: January 25, 2016
- Categories: Rails 5, Rails

Rails 5 has added ability to enable cache in development environment without
changing environment.rb file. This blog post discusses the feature.

### Configure PostgreSQL to allow remote connection

[Configure PostgreSQL to allow remote connection](https://www.bigbinary.com/blog/configure-postgresql-to-allow-remote-connection)

- Author: Neeraj Singh
- Published: January 23, 2016
- Categories: Misc

Sometimes we need PostgreSQL to allow remote connection. This blog describes how
to get that done.

### Rails 5 wraps all rake commands using rails

[Rails 5 wraps all rake commands using rails](https://www.bigbinary.com/blog/rails-5-supports-rake-commands-using-rails)

- Author: Mohit Natoo
- Published: January 14, 2016
- Categories: Rails 5, Rails

In Rails 4 some commands use rake and some commands use rails. Rails 5 brings
consistency by having rails command to do everything.

### Each form gets its own CSRF token in Rails 5

[Each form gets its own CSRF token in Rails 5](https://www.bigbinary.com/blog/per-form-csrf-token-in-rails-5)

- Author: Prajakta Tambe
- Published: January 11, 2016
- Categories: Rails 5, Rails

Rails 5 allows each form to have its own CSRF token to prevent hacking of the
site.

### Rendering views outside of controllers in Rails 5

[Rendering views outside of controllers in Rails 5](https://www.bigbinary.com/blog/rendering-views-outside-of-controllers-in-rails-5)

- Author: Prathamesh Sonpatki
- Published: January 8, 2016
- Categories: Rails 5, Rails

Rails 5 allows rendering views outside of controllers. It has many benefits like
now views can be used in Mailers and other places.

### 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.

### Year in review 2015

[Year in review 2015](https://www.bigbinary.com/blog/year-in-review-2015)

- Author: Vipul
- Published: January 4, 2016
- Categories: Misc

Activities of the BigBinary Team in 2015.

### Test runner in Rails 5

[Test runner in Rails 5](https://www.bigbinary.com/blog/test-runner-in-rails-5)

- Author: Prathamesh Sonpatki
- Published: January 3, 2016
- Categories: Rails 5, Rails

Running tests got much easier in Rails 5. Now failing tests point to line number
and makes it easier to re run a failing test. There are many more goodies.

### ApplicationRecord in Rails 5

[ApplicationRecord in Rails 5](https://www.bigbinary.com/blog/application-record-in-rails-5)

- Author: Prathamesh Sonpatki
- Published: December 28, 2015
- Categories: Rails 5, Rails

If we want to add a functionality to all models we no longer need to pollute
whole ActiveRecord::Base. Just add that feature to ApplicationRecord.

### Explicitly ssh into vagrant machine

[Explicitly ssh into vagrant machine](https://www.bigbinary.com/blog/explicitly-ssh-into-vagrant-machine)

- Author: Neeraj Singh
- Published: December 27, 2015
- Categories: Misc

Sometimes one need to explicitly ssh into vagrant machines. This blog discusses
how to get that done.

### How constant lookup and resolution works in Ruby on Rails

[How constant lookup and resolution works in Ruby on Rails](https://www.bigbinary.com/blog/how-constant-lookup-happens-in-rails)

- Author: Mohit Natoo
- Published: November 5, 2015
- Categories: Rails

Rails has its own way of maintaining constants and looking for it when it is not
found. This blog discusses all that and much more.

### 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

### Rails 5 allows setting custom HTTP Headers for assets

[Rails 5 allows setting custom HTTP Headers for assets](https://www.bigbinary.com/blog/rails-5-allows-setting-custom-http-headers-for-assets)

- Author: Vipul
- Published: October 31, 2015
- Categories: Rails 5, Rails

Ability to set custom HTTP header is needed to have better control over the
delivery of assets. In this blog we'll see how that can be done.

### Migrating Rails app from postgresql to sql server

[Migrating Rails app from postgresql to sql server](https://www.bigbinary.com/blog/migrating-from-postgresql-to-sqlserver)

- Author: Rohit Kumar
- Published: October 13, 2015
- Categories: Rails

Migrating rails app from postgresql to sql server

### Configuring Pycharm IDE to run a Robot Framework test

[Configuring Pycharm IDE to run a Robot Framework test](https://www.bigbinary.com/blog/configuring-pycharm-to-run-tests)

- Author: Prabhakar Battula
- Published: October 11, 2015
- Categories: Misc

How to configure Pycharm IDE to run a Robot Framework test suite or a single
test script

### Optimize JavaScript code using BabelJS

[Optimize JavaScript code using BabelJS](https://www.bigbinary.com/blog/code-optimize-javascript-code-using-babeljs)

- Author: Prathamesh Sonpatki
- Published: August 26, 2015
- Categories: JavaScript

Use BabelJS to optimize JavaScript code. In reality you might not use it to
optimize code but this blog will show you tricks BabelJS is capable of.

### 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.

### Using ReactJS with Rails Action Cable

[Using ReactJS with Rails Action Cable](https://www.bigbinary.com/blog/using-reactjs-with-rails-actioncable)

- Author: Vipul
- Published: July 19, 2015
- Categories: Rails

Using ReactJS with Rails Action Cable for real-time applications.

### Verifying PubSub Services from Rails using Redis

[Verifying PubSub Services from Rails using Redis](https://www.bigbinary.com/blog/verifying-pubsub-services-from-rails-redis)

- Author: Vipul
- Published: May 9, 2015
- Categories: Rails

Verifying PubSub Services from Rails with example based on Redis

### Voice based phone verification using twilio

[Voice based phone verification using twilio](https://www.bigbinary.com/blog/voice-based-phone-verification-using-twilio)

- Author: Santosh Wadghule
- Published: March 18, 2015
- Categories: Rails

In this blog we discuss how to do voice based phone verification using Twilio.

### Gotcha with after_commit callback in Rails

[Gotcha with after_commit callback in Rails](https://www.bigbinary.com/blog/gotcha-with-after_commit-callback-in-rails)

- Author: Prathamesh Sonpatki
- Published: March 1, 2015
- Categories: Rails

Gotcha with after_commit callback in Rails

### Blue border around JWPLAYER video

[Blue border around JWPLAYER video](https://www.bigbinary.com/blog/blue-border-around-jwplayer-video)

- Author: Prathamesh Sonpatki
- Published: February 21, 2015
- Categories: Misc

How to remove blue border around JWPlayer

### Phone verification using SMS via Twilio

[Phone verification using SMS via Twilio](https://www.bigbinary.com/blog/phone-verification-using-twilio)

- Author: Santosh Wadghule
- Published: January 12, 2015
- Categories: Rails

These days it is a common need to verify Phone using SMS. In this blog we will
show you how to do that using Twilio.

### Author information in jekyll blog

[Author information in jekyll blog](https://www.bigbinary.com/blog/author-information-in-jekyll-blog)

- Author: Neeraj Singh
- Published: January 9, 2015
- Categories: Ruby

Author information in jekyll blog

### Obtain current timezone in Selenium IDE using JS

[Obtain current timezone in Selenium IDE using JS](https://www.bigbinary.com/blog/how-to-obtain-current-time-from-a-different-timezone-in-selenium-ide-using-javascript)

- Author: Prabhakar Battula
- Published: January 8, 2015
- Categories: JavaScript

Obtaining current time from a different timezone using javascript in selenium
IDE

### 2014 - Year in Community Engagement

[2014 - Year in Community Engagement](https://www.bigbinary.com/blog/2014-year-in-community-engagement)

- Author: Vipul
- Published: January 1, 2015
- Categories: Misc

2014 - Year in Community Engagement

### Migrating existing session cookies while upgrading

[Migrating existing session cookies while upgrading](https://www.bigbinary.com/blog/migrating-existing-session-cookies-while-upgrading-to-rails-4-1-and-above)

- Author: Prathamesh Sonpatki
- Published: December 23, 2014
- Categories: Rails

Safely upgrade to Rails 4.1 and migrate existing session cookies without forcing
users to login again.

### Rails Girls Pune 2014

[Rails Girls Pune 2014](https://www.bigbinary.com/blog/rails-girls-pune-2014)

- Author: Vipul
- Published: December 14, 2014
- Categories: Rails

RailsGirls Pune 2014

### DRYing up Rails Views with View Carriers and Services

[DRYing up Rails Views with View Carriers and Services](https://www.bigbinary.com/blog/drying-up-rails-views-with-view-carriers-and-services)

- Author: Vipul
- Published: December 2, 2014
- Categories: Rails

Rails views can get complicated with all sorts of business logic. In this blog
we are going to show how we made Rails views simpler by using Carriers.

### Make Outbound calls to a phone using Twilio and Rails

[Make Outbound calls to a phone using Twilio and Rails](https://www.bigbinary.com/blog/twilio-rails-calling-from-browser-to-a-phone)

- Author: Vipul
- Published: September 29, 2014
- Categories: Rails

Make Outbound Calls From the Browser to Phone using Twilio and Rails

### Tricks and Tips for using Fixtures effectively in Rails

[Tricks and Tips for using Fixtures effectively in Rails](https://www.bigbinary.com/blog/tricks-and-tips-for-using-fixtures-in-rails)

- Author: Prathamesh Sonpatki
- Published: September 21, 2014
- Categories: Rails

Tricks and Tips for using Fixtures effectively in Rails

### Selenium IDE - Reducing time from 58 min to 15 min

[Selenium IDE - Reducing time from 58 min to 15 min](https://www.bigbinary.com/blog/how-i-reduced-selenium-test-run-time-from-58-minutes-to-15-minutes)

- Author: Prabhakar Battula
- Published: September 8, 2014
- Categories: Misc

This post is about hastening the execution of selenium tests.

### DeccanRubyConf 2014. Hou De!

[DeccanRubyConf 2014. Hou De!](https://www.bigbinary.com/blog/deccanrubyconf)

- Author: Santosh Wadghule
- Published: August 3, 2014
- Categories: Rails

This post talks about my experience for Pune's first DeccanRubyConf 2014.

### Flash access changes in Rails 4.1

[Flash access changes in Rails 4.1](https://www.bigbinary.com/blog/flash-access-changes-rails-4-1)

- Author: Vipul
- Published: July 24, 2014
- Categories: Rails

This post describes a flash object access changes due to new json cookie
serialization in Rails 4.1

### Issue with Delayed Job lifecycle and Postgres Errors

[Issue with Delayed Job lifecycle and Postgres Errors](https://www.bigbinary.com/blog/delayed-job-lifecycle-issue)

- Author: Vipul
- Published: July 23, 2014
- Categories: Rails

This post describes a problem in DelayedJob Lifecycle leading to database
connection issues.

### RedDotRubyConf 2014

[RedDotRubyConf 2014](https://www.bigbinary.com/blog/reddotrubyconf)

- Author: Prathamesh Sonpatki
- Published: July 1, 2014
- Categories: Rails

This post talks about our experiences attending RedDotRubyConf 2014 in
Singapore.

### Six Year Old Optional / Keyword Arguments bug

[Six Year Old Optional / Keyword Arguments bug](https://www.bigbinary.com/blog/six-years-old-optional-keyword-arguments-bug)

- Author: Vipul
- Published: April 28, 2014
- Categories: Rails, Ruby

This blog discusses a Six Year Old Optional / Keyword Arguments bug that was
fixed recently in Ruby 2.2

### How to deploy jekyll site to heroku

[How to deploy jekyll site to heroku](https://www.bigbinary.com/blog/deploy-jekyll-to-heroku)

- Author: Neeraj Singh
- Published: April 27, 2014
- Categories: Ruby

This blog discusses how to deploy jekyll site to heroku

### How to add additional directories to test

[How to add additional directories to test](https://www.bigbinary.com/blog/adding-directory-to-rake-test)

- Author: Neeraj Singh
- Published: April 26, 2014
- Categories: Rails

This blog discusses how to add additional directories to test

### Configuring Log Formatting in Rails

[Configuring Log Formatting in Rails](https://www.bigbinary.com/blog/logger-formatting-in-rails)

- Author: Vipul
- Published: March 3, 2014
- Categories: Rails

This blog discusses how custom Logger can be used in Rails, and configuring Log
Formatting.

### Displaying non repeating random records

[Displaying non repeating random records](https://www.bigbinary.com/blog/non-repeating-random-records)

- Author: Neeraj Singh
- Published: November 13, 2013
- Categories: Rails

Displaying random records is easy. But sometimes it can show duplicate records.
This blog discusses how to show random records without showing duplicate
records.

### Active Record is still magical

[Active Record is still magical](https://www.bigbinary.com/blog/active-record-is-still-magical)

- Author: Neeraj Singh
- Published: October 30, 2013
- Categories: Rails

Slides and video of my presentation at Wicked Good Ruby Conferenece.

### Getting arguments passed to command

[Getting arguments passed to command](https://www.bigbinary.com/blog/getting-arguments-passed-to-command)

- Author: Neeraj Singh
- Published: September 22, 2013
- Categories: Ruby

Investigative work of finding what argeuments where passed to the command after
the fact.

### What is ppid

[What is ppid](https://www.bigbinary.com/blog/what-is-ppid)

- Author: Neeraj Singh
- Published: September 21, 2013
- Categories: Ruby

A look at how process ids are linked up and maintain the hierarchy.

### Do not allow force push to master

[Do not allow force push to master](https://www.bigbinary.com/blog/do-not-allow-force-push-to-master)

- Author: Neeraj Singh
- Published: September 19, 2013
- Categories: Misc

Force push is dangerous. But it is needed sometimes. And sometimes one can force
push to master by mistake. A look at how to avoid that.

### How to keep your fork up-to-date

[How to keep your fork up-to-date](https://www.bigbinary.com/blog/how-to-keep-your-fork-uptodate)

- Author: Neeraj Singh
- Published: September 13, 2013
- Categories: Misc

Keeping the fork up-to-date is no easy task. This blog can help.

### How to setup Pinch to Zoom for an image in RubyMotion

[How to setup Pinch to Zoom for an image in RubyMotion](https://www.bigbinary.com/blog/pinch-to-zoom-for-an-image-in-rubymotion)

- Author: Neeraj Singh
- Published: August 27, 2013
- Categories: Ruby

Pinching and then zooming is a common user interaction in ios apps. This blog
details how to build that feature.

### Fix image orientation issue in RubyMotion

[Fix image orientation issue in RubyMotion](https://www.bigbinary.com/blog/rubymotion-image-orientation)

- Author: Neeraj Singh
- Published: August 4, 2013
- Categories: Ruby

Sometimes images appear in different orientation. This blog discusses how to fix
that issue in RubyMotion apps.

### Visitor pattern and double dispatch in ruby

[Visitor pattern and double dispatch in ruby](https://www.bigbinary.com/blog/visitor-pattern-and-double-dispatch)

- Author: Neeraj Singh
- Published: July 7, 2013
- Categories: Rails

Visitor pattern is a common pattern to traverse a tree. This blog discusses what
visitor pattern is and how to write code for that in ruby.

### Preload, Eagerload, Includes and Joins

[Preload, Eagerload, Includes and Joins](https://www.bigbinary.com/blog/preload-vs-eager-load-vs-joins-vs-includes)

- Author: Neeraj Singh
- Published: July 1, 2013
- Categories: Rails

ActiveRecord does a lot of magical stuff. This blog discusses how it pulls of
Preload, Eagerload, Includes and Joins.

### Background/header for Formotion forms in RubyMotion

[Background/header for Formotion forms in RubyMotion](https://www.bigbinary.com/blog/set-formotion-background-and-header)

- Author: Neeraj Singh
- Published: June 8, 2013
- Categories: Ruby

See this blog to understand how to set background and header in a form developed
using Formotion in a RubyMotion application

### Cookies on Rails

[Cookies on Rails](https://www.bigbinary.com/blog/cookies-on-rails)

- Author: Neeraj Singh
- Published: March 19, 2013
- Categories: Rails

A deep dive into how Rails handles cookies. How Rails keeps cookies encrypted
and how to protect your data.

### Understanding instance exec in ruby

[Understanding instance exec in ruby](https://www.bigbinary.com/blog/understanding-instance-exec-in-ruby)

- Author: Neeraj Singh
- Published: March 12, 2013
- Categories: Rails

instance_exec is a usefull tool in Ruby. But the usage of it could be a bit
confusing. See this blog to gain better understanding.

### Rex, Rexical and Rails routing

[Rex, Rexical and Rails routing](https://www.bigbinary.com/blog/rex-rexical-and-rails-routing)

- Author: Neeraj Singh
- Published: February 1, 2013
- Categories: Rails

Rails routing uses its own grammar. To better understand how grammar works we
will look at Rex and Rexical.

### Rails Routing -- a comprehensive look at routing

[Rails Routing -- a comprehensive look at routing](https://www.bigbinary.com/blog/journey-into-rails-routing)

- Author: Neeraj Singh
- Published: January 29, 2013
- Categories: Rails

A deep dive into how Rails handles routing.

### Life of save in ActiveRecord

[Life of save in ActiveRecord](https://www.bigbinary.com/blog/live-of-save-in-activerecord)

- Author: Neeraj Singh
- Published: January 15, 2013
- Categories: Rails

ActiveRecord saves record by going through saving process in layers. This blog
takes a deep dive into how ActiveRecord saves a record.

### Handling money in ruby

[Handling money in ruby](https://www.bigbinary.com/blog/handling-money-in-ruby)

- Author: Neeraj Singh
- Published: January 14, 2013
- Categories: Ruby

Float in ruby is not good for calculations. That makes it difficult to use float
for money in a ruby based application. See this blog for a solution.

### Executing shell commands in ruby

[Executing shell commands in ruby](https://www.bigbinary.com/blog/backtick-system-exec-in-ruby)

- Author: Neeraj Singh
- Published: October 18, 2012
- Categories: Ruby

Ruby allows many different ways to execute a command or a sub-process. In this
article we are going to see backtick, system, exec, sh, popen3, popen2e and
spawn.

### Redirect to www for heroku with SSL

[Redirect to www for heroku with SSL](https://www.bigbinary.com/blog/redirect-to-www-heroku-ssl)

- Author: Neeraj Singh
- Published: October 12, 2012
- Categories: Rails

How to redirect to https version of the url.

### Solr, Sunspot, Websolr and Delayed job

[Solr, Sunspot, Websolr and Delayed job](https://www.bigbinary.com/blog/solr-sunspot-websolr-delayed-job)

- Author: Neeraj Singh
- Published: October 11, 2012
- Categories: Rails

Handling Solr with Delayed job has a few gotchas which we are going to look into
in this blog.

### Data-behavior is for JavaScript developers

[Data-behavior is for JavaScript developers](https://www.bigbinary.com/blog/data-behavior)

- Author: Neeraj Singh
- Published: October 10, 2012
- Categories: Rails

JavaScript operations should not be based on class of the element. A better
solution would be to use data-behavior.

### Test factories first

[Test factories first](https://www.bigbinary.com/blog/test-factories-first)

- Author: Neeraj Singh
- Published: October 10, 2012
- Categories: Rails

Before running any tests make sure that all factories are running ok.

### emberjs mixin

[emberjs mixin](https://www.bigbinary.com/blog/emberjs-mixin)

- Author: Neeraj Singh
- Published: August 27, 2012
- Categories: JavaScript

How to properly use EmberJS mixin.

### extend self in ruby

[extend self in ruby](https://www.bigbinary.com/blog/extend-self-in-ruby)

- Author: Neeraj Singh
- Published: June 28, 2012
- Categories: Ruby

It is not very clear what happens when a module extends itself. This blog takes
a look a that in detail.

### to_str in ruby

[to_str in ruby](https://www.bigbinary.com/blog/to_str-in-ruby)

- Author: Neeraj Singh
- Published: June 26, 2012
- Categories: Ruby

to_str has a special meaning in ruby. This blog discusses that in detail and
contrats it with to_s.

### jquery-ujs and jquery trigger

[jquery-ujs and jquery trigger](https://www.bigbinary.com/blog/jquery-ujs-and-jquery-trigger)

- Author: Neeraj Singh
- Published: May 11, 2012
- Categories: jQuery

This blog discusses how to make AJAX calls using jquery-ujs. Also discusses why
event object is needed which is often the cause of error with lot of code.

### CSRF and Rails

[CSRF and Rails](https://www.bigbinary.com/blog/csrf-and-rails)

- Author: Neeraj Singh
- Published: May 10, 2012
- Categories: Rails

Cross site request forgery attacks are common. Rails has mechanisms to protect
applications from such attacks. This blog discusses how Rails provides those
mechansisms.

### XSS and Rails

[XSS and Rails](https://www.bigbinary.com/blog/xss-and-rails)

- Author: Neeraj Singh
- Published: May 10, 2012
- Categories: Rails

Cross site scripting attacks are common. Rails has mechanisms to protect
applications from such attacks. This blog discusses how Rails provides those
mechansisms.

### tsort in ruby and rails initializers

[tsort in ruby and rails initializers](https://www.bigbinary.com/blog/tsort-in-ruby)

- Author: Neeraj Singh
- Published: March 16, 2012
- Categories: Rails

This blog discusses what tsort is and how Rails initializers uses it.

### alias vs alias_method

[alias vs alias_method](https://www.bigbinary.com/blog/alias-vs-alias-method)

- Author: Neeraj Singh
- Published: January 8, 2012
- Categories: Ruby

This blog discusses the differences between alias and alias_method in ruby.

### Understanding bind and bindAll in Backbone.js

[Understanding bind and bindAll in Backbone.js](https://www.bigbinary.com/blog/understanding-bind-and-bindall-in-backbone)

- Author: Neeraj Singh
- Published: August 18, 2011
- Categories: JavaScript

Backbone.js makes extensive use of bind and bindAll. Internally these methods
use some clever techniques. This blog deep dives into those methods to see how
they work.

### Ruby pack unpack

[Ruby pack unpack](https://www.bigbinary.com/blog/ruby-pack-unpack)

- Author: Neeraj Singh
- Published: July 20, 2011
- Categories: Ruby

Ruby allows to manipulate bits and bytes using pack and unpack methods. This
blog deep dives into it to see how pack and unpack methods can be used.

### Infinite hash and default_proc

[Infinite hash and default_proc](https://www.bigbinary.com/blog/default_proc_in_infinite_hash)

- Author: Neeraj Singh
- Published: December 31, 2010
- Categories: Ruby

This blog discusses how we can build infinite nested hash in ruby using
deafult_proc feature.

### Mime type resolution in Rails

[Mime type resolution in Rails](https://www.bigbinary.com/blog/mime-type-resolution-in-rails)

- Author: Neeraj Singh
- Published: November 23, 2010
- Categories: Rails

Resolving mime types is complicated. Different vendors have mad the situation
worse by not properly adhering to the standard. This blog take a closer look at
how mime type resolution works in Rails.

### Variable declaration at the top is not just pretty thing

[Variable declaration at the top is not just pretty thing](https://www.bigbinary.com/blog/variable-hoisting-is-not-just-pretty-thing)

- Author: Neeraj Singh
- Published: November 22, 2010
- Categories: JavaScript

In JavaScript code we declare variables at the top. It is not just to make the
code look better. This blog discusses why it is done.

### An inline confirmation utility powered by jQuery

[An inline confirmation utility powered by jQuery](https://www.bigbinary.com/blog/iconfirm-an-inline-confirmation-jquery-plugin)

- Author: Neeraj Singh
- Published: November 2, 2010
- Categories: jQuery

This blog discusses an inline confirmation utility developed using jQuery.

### Return false has changed in jquery 1.4.3

[Return false has changed in jquery 1.4.3](https://www.bigbinary.com/blog/return-false-in-jquery-1.4.3)

- Author: Neeraj Singh
- Published: October 25, 2010
- Categories: jQuery

The behavior of return false has changed in jQuery 1.4.3. This blog discusses
what changed.

### instance_exec, changing self and params

[instance_exec, changing self and params](https://www.bigbinary.com/blog/instance-exec-changing-self-and-parameters-to-proc)

- Author: Neeraj Singh
- Published: May 28, 2010
- Categories: Ruby

instance_exec could be confusing. It can be used to change self. This blog
discusses how to use instance_exec.

### $LOADED_FEATURES and require, load, require_dependency

[$LOADED_FEATURES and require, load, require_dependency](https://www.bigbinary.com/blog/require-load-loaded_features)

- Author: Neeraj Singh
- Published: May 12, 2010
- Categories: Ruby

This blog discusses LOADED_FEATURES, require, load and require_dependency in
ruby.

### I am not seeing hoptoad messages. Now I know why.

[I am not seeing hoptoad messages. Now I know why.](https://www.bigbinary.com/blog/I-am-not-seeing-hoptoad-messages)

- Author: Neeraj Singh
- Published: April 23, 2010
- Categories: Rails

consider_all_request_local determnies if exception should be sent to the hoptoad
server or not. See this blog to understand more about it.

### List of only the elements that contains

[List of only the elements that contains](https://www.bigbinary.com/blog/list-of-only-the-elements)

- Author: Neeraj Singh
- Published: April 12, 2010
- Categories: jQuery

How to effectively search for a string in DOM elements. This blog discusses
jQuery technique.

### Singleton function in JavaScript

[Singleton function in JavaScript](https://www.bigbinary.com/blog/singleton-function-in-javascript)

- Author: Neeraj Singh
- Published: April 11, 2010
- Categories: JavaScript

Creating a singleton function in JavaScript could be tricky. This blog discusses
how to do it and when it should be done.

### Regular expression in JavaScript

[Regular expression in JavaScript](https://www.bigbinary.com/blog/regular-expressions-in-JavaScript)

- Author: Neeraj Singh
- Published: March 31, 2010
- Categories: JavaScript

Regular expression in JavaScript could be confusing. This blog discusses a few
basic techniqutes.

### Get started with nodejs in steps

[Get started with nodejs in steps](https://www.bigbinary.com/blog/getting-started-with-nodejs-in-steps)

- Author: Neeraj Singh
- Published: March 25, 2010
- Categories: JavaScript

Sometimes the hardest thing is getting started with something. This blog will
help you get started with nodejs.

### Lessons learned from JavaScript quizzes

[Lessons learned from JavaScript quizzes](https://www.bigbinary.com/blog/lessons-learned-from-javascript-quizzes)

- Author: Neeraj Singh
- Published: March 15, 2010
- Categories: JavaScript

Recently I tried to answer some JavaScript quizzes and in the process learned a
bit. This blog discusses things that I learned.

### Two ways of declaring functions

[Two ways of declaring functions](https://www.bigbinary.com/blog/two-ways-of-declaring-functions)

- Author: Neeraj Singh
- Published: March 15, 2010
- Categories: JavaScript

There are many ways of declaring a function. In this blog we will discuss two of
those techniques.

### Practical example of need for prototypal inheritance

[Practical example of need for prototypal inheritance](https://www.bigbinary.com/blog/pratical-example-of-need-for-prototypal-inheritance)

- Author: Neeraj Singh
- Published: March 12, 2010
- Categories: JavaScript

The BigBinary team's lesson on practical examples of need for Prototypal
Inheritance

### Prototypal inheritance in JavaScript

[Prototypal inheritance in JavaScript](https://www.bigbinary.com/blog/prototypal-inheritance-in-javascript)

- Author: Neeraj Singh
- Published: March 11, 2010
- Categories: JavaScript

The BigBinary team's lesson on prototypal inheritance in JavaScript

### return false considered harmful in live

[return false considered harmful in live](https://www.bigbinary.com/blog/return-false-considered-harmful-in-live-jquery)

- Author: Neeraj Singh
- Published: March 10, 2010
- Categories: jQuery

If you return false in live operation of jQuery a few unexpected things can
happen. See this blog for details.

### Simplest jQuery slideshow code explanation

[Simplest jQuery slideshow code explanation](https://www.bigbinary.com/blog/simplest-jquery-slideshow-code-explanation)

- Author: Neeraj Singh
- Published: February 18, 2010
- Categories: jQuery

Building slideshow using jQuery could take a bit of code. This is probably the
simplest jQuery slideshow code you would see in action.

### How jQuery selects elements using Sizzle

[How jQuery selects elements using Sizzle](https://www.bigbinary.com/blog/how-jquery-selects-elements-using-sizzle)

- Author: Neeraj Singh
- Published: February 15, 2010
- Categories: jQuery

jQuery uses Sizzle to selects elements. But how exactly it works. How jQuery
gets the elements I want. This blog deep dives into jQuer internals to see how
jQuery selects the elements based on provided selectors.

### jQuery edge delegate method has arrived

[jQuery edge delegate method has arrived](https://www.bigbinary.com/blog/jquery-edge-delegate-method-has-arrived)

- Author: Neeraj Singh
- Published: February 2, 2010
- Categories: jQuery

jQuery delegate method can be used instead of live. In many cases it is
desirable to use delegate over live. This blog discusses how delegate works and
why it is preferred over live.

### Understanding jQuery effects queue

[Understanding jQuery effects queue](https://www.bigbinary.com/blog/understanding-jquery-effects-queue)

- Author: Neeraj Singh
- Published: February 2, 2010
- Categories: jQuery

This blog discusses how jQuery effects queue works.

### jQuery fadeTo method fades even the hidden elements

[jQuery fadeTo method fades even the hidden elements](https://www.bigbinary.com/blog/jquery-fadeto-method-fades-even-the-hidden-elements)

- Author: Neeraj Singh
- Published: January 29, 2010
- Categories: jQuery

This blog discusses how jQuery's fadeTo method fades even the hidden elements
and the impact of it.

### jQuery show method edge case

[jQuery show method edge case](https://www.bigbinary.com/blog/jquery-show-method-edge-case)

- Author: Neeraj Singh
- Published: January 29, 2010
- Categories: jQuery

This blog discusses an edge case with jQuery's show method.

### How animate really works in jQuery

[How animate really works in jQuery](https://www.bigbinary.com/blog/how-animate-really-works-in-jquery-simple-animation-case-discussed)

- Author: Neeraj Singh
- Published: January 25, 2010
- Categories: jQuery

A deep dive into how jQuery pulls of animation tricks.

### Order of format matters in respond_to block

[Order of format matters in respond_to block](https://www.bigbinary.com/blog/order-of-format-matters-in-respond_to-block)

- Author: Neeraj Singh
- Published: January 25, 2010
- Categories: Rails

In Rails we use respond_to to respond to different types of requests. The order
in which different formats are handled matters. This blog takes a look at that
issue.

### JSON parsing natively in jQuery 1.4 and updates

[JSON parsing natively in jQuery 1.4 and updates](https://www.bigbinary.com/blog/handling-json-parsing-natively-in-jquery-1-4-and-what-changed-from-jquery-1-3)

- Author: Neeraj Singh
- Published: January 15, 2010
- Categories: jQuery

Starting with jQuery 1.4 JSON will be parsed natively. This blog looks at the
impact it will have.

### How jQuery 1.4 fixed rest of live methods

[How jQuery 1.4 fixed rest of live methods](https://www.bigbinary.com/blog/how-jquery-1-4-fixed-rest-of-live-methods)

- Author: Neeraj Singh
- Published: January 14, 2010
- Categories: jQuery

When jQuery live was introduced it did not support all elements. Support for
those elements came in jQuery 1.4. This blog looks at how jQuery 1.4 provided
support for the remaining elements.

### Calling a method on a jQuery collection

[Calling a method on a jQuery collection](https://www.bigbinary.com/blog/hidden-feature-of-jquery-calling-a-method-on-a-jquery-collection)

- Author: Neeraj Singh
- Published: January 12, 2010
- Categories: jQuery

How do you invoke a method on a jQuery collection.

### Use end more often in jQuery while building DOM elements

[Use end more often in jQuery while building DOM elements](https://www.bigbinary.com/blog/use-end-more-often-in-jquery-while-building-dom-elements)

- Author: Neeraj Singh
- Published: November 11, 2009
- Categories: jQuery

In jQuery we chain operations but we can also use end to backtrack a bit. This
allows us to chain even more.

### JavaScript Basics Quiz

[JavaScript Basics Quiz](https://www.bigbinary.com/blog/javascript-basics-quiz)

- Author: Neeraj Singh
- Published: October 29, 2009
- Categories: JavaScript

A basic quiz about JavaScript.

### livequery in jQuery

[livequery in jQuery](https://www.bigbinary.com/blog/how-live-method-works-in-jquery-why-it-does-not-work-in-some-cases-when-to-use-livequery)

- Author: Neeraj Singh
- Published: October 14, 2009
- Categories: jQuery

jQuery's live method is amazing. But how it does really work internally. This
blog looks at how jQuery pulls off this magic.

### Encapsulation in JavaScript

[Encapsulation in JavaScript](https://www.bigbinary.com/blog/encapsulation-in-javascript)

- Author: Neeraj Singh
- Published: October 12, 2009
- Categories: JavaScript

JavaScript does not allow you to define a method as public or private. This is a
limitation users need to get around to, because in real life you don't want to
expose all methods as public method.

### Integrating JavaScriptLint with mvim

[Integrating JavaScriptLint with mvim](https://www.bigbinary.com/blog/integrating-javascriptlint-with-mvim-and-getting-rid-of-annoying-warnings)

- Author: Neeraj Singh
- Published: September 8, 2009
- Categories: JavaScript

Use JavaScriptLin in mac vim.

### Wrapping functions with self invoking jQuery

[Wrapping functions with self invoking jQuery](https://www.bigbinary.com/blog/wrap-your-function-with-self-invoking-jquery-instead-of-performing-find-replace)

- Author: Neeraj Singh
- Published: September 3, 2009
- Categories: jQuery

Wrap your function with self invoking jQuery instead of performing find/replace.

### Understanding this in Javascript object literal

[Understanding this in Javascript object literal](https://www.bigbinary.com/blog/understanding-this-in-javascript-object-literal)

- Author: Neeraj Singh
- Published: August 6, 2009
- Categories: jQuery

this is an important concept in JavaScript and meaning of this could be hard to
understand in some cases. This blog take a look at what this is.

### jQuery custom events

[jQuery custom events](https://www.bigbinary.com/blog/jquery-custom-events)

- Author: Neeraj Singh
- Published: July 31, 2009
- Categories: jQuery

What are jQuery custom events. How to build them. How to use them. This blog
discusses all that and much more.

### jQuery base code to create a jQuery plugin

[jQuery base code to create a jQuery plugin](https://www.bigbinary.com/blog/jquery-base-code-to-create-a-jquery-plugin)

- Author: Neeraj Singh
- Published: July 24, 2009
- Categories: jQuery

If you are creating a jQuery plugin then this base code will get you started.

### Inspecting jQuery internals and storing information

[Inspecting jQuery internals and storing information](https://www.bigbinary.com/blog/jquery-data-for-inspecting-jquery-internals-and-for-storing-information)

- Author: Neeraj Singh
- Published: July 23, 2009
- Categories: jQuery

Use jQuery.Data for inspecting jQuery internals and for storing information.

### Event propagation and peventDefault

[Event propagation and peventDefault](https://www.bigbinary.com/blog/event-propagation-and-peventdefault)

- Author: Neeraj Singh
- Published: July 20, 2009
- Categories: jQuery

DOM propagates events and JavaScript can intercept those events and can act on
it. Concepts like preventDefault in jQuery could be confusing. This blog
discusses that.

### What is JSONP?

[What is JSONP?](https://www.bigbinary.com/blog/what-is-jsonp)

- Author: Neeraj Singh
- Published: July 16, 2009
- Categories: JavaScript

Browsers do not allow cross domain AJAX request. JSONP can be used to get around
this issue. This blog discusses what JSONP is and how to use it.

### $stdout.sync = true to flush output immediately

[$stdout.sync = true to flush output immediately](https://www.bigbinary.com/blog/stdout-sync-true-to-flush-output-immediately)

- Author: Neeraj Singh
- Published: July 4, 2009
- Categories: Ruby

Since IO operations are expensive IO results are not flushed immediately. See
the technique presented here to flush output immediately.

### Functional scope in Javascript

[Functional scope in Javascript](https://www.bigbinary.com/blog/functional-scope-in-javascript-and-how-javascript-continues-to-surprise-me)

- Author: Neeraj Singh
- Published: June 30, 2009
- Categories: jQuery

What is functional scope. This blog discusses that in the context of JavaScript.

### JS tip - Avoiding polluting the global namespace

[JS tip - Avoiding polluting the global namespace](https://www.bigbinary.com/blog/javascript-tip-do-not-pollute-global-namespace-with-utility-functions)

- Author: Neeraj Singh
- Published: March 18, 2009
- Categories: jQuery

Polluting global namespace is not good. This blog presents a better technique.

### Determining if commits are executed in a transaction

[Determining if commits are executed in a transaction](https://www.bigbinary.com/blog/how-to-find-if-my-commits-are-executed-in-a-transaction-or-not)

- Author: Neeraj Singh
- Published: March 13, 2009
- Categories: Rails

How to find if my commits are executed in a transaction or not

### jQuery Plugin Pattern & self-invoking javascript function

[jQuery Plugin Pattern & self-invoking javascript function](https://www.bigbinary.com/blog/understanding-jquery-plugin-pattern-and-self-invoking-javascript-function)

- Author: Neeraj Singh
- Published: March 13, 2009
- Categories: jQuery

I am learning jQuery and one of things I was struggling with is the plugin
pattern. In jQuery world it is very common to wrap the major functionality of
the application inside a plugin. This blog discusses how to write a good modular
plugin.

### Usage of Closure in Javascript

[Usage of Closure in Javascript](https://www.bigbinary.com/blog/usage-of-closure-in-javascript)

- Author: Neeraj Singh
- Published: March 13, 2009
- Categories: JavaScript

In this article you are going to see what you can do with the power of Closure
in Javascript. This not an article about what Closure is. This is an article
about what Closure can do. I see a lot of people asking the question what's the
big deal with Closure. They want more real world cases where Closure will make
sense.

### Restful architecture does not mean one to one mapping

[Restful architecture does not mean one to one mapping](https://www.bigbinary.com/blog/restful-architecture-does-not-mean-one-to-one-mapping-with-model)

- Author: Neeraj Singh
- Published: February 17, 2009
- Categories: Rails

REST style does not mean that we need to have a controller for every model. We
can mix and match.

### Configure local_request

[Configure local_request](https://www.bigbinary.com/blog/rescue_action_in_public-local_request-and-how-to-configure-local_request)

- Author: Neeraj Singh
- Published: February 5, 2009
- Categories: Rails

How does Rails handle exceptions? Rails exception handling depends on two
factors and we are going to discuss both of them here.

### Override automatic updated_at in ActiveRecord/Rails

[Override automatic updated_at in ActiveRecord/Rails](https://www.bigbinary.com/blog/override-automatic-timestamp-in-activerecord-rails)

- Author: Neeraj Singh
- Published: January 21, 2009
- Categories: Rails

Rails automatically updates updated_at. But it can be overcome.

### Under the hood how named_scope works

[Under the hood how named_scope works](https://www.bigbinary.com/blog/under-the-hood-how-named-scope-works)

- Author: Neeraj Singh
- Published: October 17, 2008
- Categories: Rails

named_scope is awesome. But how does it work. How does it pull off all those
tricks which seem magical. This blog takes a deep dive and looks into code to
see how named_scope really works.

### Why the id of nil is 4 in Ruby

[Why the id of nil is 4 in Ruby](https://www.bigbinary.com/blog/why-the-id-of-nil-is-4-in-ruby)

- Author: Neeraj Singh
- Published: June 23, 2008
- Categories: Ruby

Discusses why the id of nil is 4 in Ruby. Why 4. Why not 3 or 5.

## Links

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