Prathamesh Sonpatki
  • Newsletter
  • About
  • Talks
  • Podcasts
61 posts

Prathamesh Sonpatki

Prathamesh Sonpatki
  • Shape Image
  • Shape Image
  • Shape Image
Prathamesh Sonpatki
Prathamesh Sonpatki
  • javascript
  • 2 min read

Workaround for Lookbehind Regex in Safari

Workaround for Lookbehind Regular expressions in Safari

Read More
Confident coding principles - Let it break (loudly) edition
07Jun
Prathamesh Sonpatki
Prathamesh Sonpatki
  • confident-code
  • 2 min read

Confident coding principles - Let it break (loudly) edition

Raising exceptions to define boundaries of the code can help in making sure that unwanted behavior does not go unnoticed until it is too late.

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • heroku
  • 1 min read

Adding jemalloc to Rails apps on Heroku

How to enable jemalloc on Heroku for Rails apps

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • bundler
  • 2 min read

Bundler 2.2.3+ and deployment of Ruby apps

Fix deployment of Ruby/Rails apps with bundler 2.2.3 and above by adding the deployment platform to Gemfile.lock.

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • puma
  • 1 min read

Puma installation issue due to missing ctype.h on Mac OS X

puma_http11.c:203:22: note: include the header <ctype.h> or explicitly provide a declaration for 'isspace'Are you facing this error recently

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • rails
  • 1 min read

OR query with multiple conditions on same column using Sequel

A handy trick to use Sequel library to generate OR query with multiple conditions on same column

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • rails
  • 2 min read

Creating unlogged (PostgreSQL) tables in Rails

Create unlogged tables to improve performance especially in test environments in Rails and PostgreSQL

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • rails
  • 1 min read

Effective enqueuing of background jobs

We can increase efficiency of the background jobs by meticulously enqueuing only those jobs which are actually going to be executed and avoid jobs getting enqueued and discarded immediately.

Read More
How I write tests for my Rails (API) apps
28Jul
Prathamesh Sonpatki
Prathamesh Sonpatki
  • rails
  • 5 min read

How I write tests for my Rails (API) apps

My strategy of writing tests for Rails applications. Integration tests over unit tests. No to 100% test coverage.

Read More
Prathamesh Sonpatki
Prathamesh Sonpatki
  • postgresql
  • 3 min read

Installing Timescaledb on Mac OS X with Postgres.app

Install Timescaledb on Mac OS X with Postgres.app

Read More
Prathamesh Sonpatki
Pages
  • About
  • Join my Newsletter
  • Podcasts
  • Reading
  • Road to Rails 6
  • Ruby 2.7 compatible gems
  • Talks
Subscribe Us
Great! Check your inbox and click the link to confirm your subscription.
Please enter a valid email address!

© 2023 Prathamesh Sonpatki

  • Footer Shape
  • Footer Shape
  • Footer Shape