Santosh Wadghule
postsaboutarchivetagstilmehanicles.com
  • Sep 28, 2023

    Enhancing Development Efficiency: Colorizing Rails Logs for Rapid Debugging

    If you’re working on a large Rails application with lots of controllers, layouts, and view pages, it can be tough to figure out which parts of the code are being called when a request is made. Whether you’re new to the project or have been working on it for a while, the logs can be a bit confusing because everything looks the same.

    Read more
  • Apr 18, 2020

    Setting up Elasticsearch, Chrome, and Chromedriver on Drone CI

    Recently, we started using Elasticsearch to make locations search fast.

    Read more
  • Apr 10, 2020

    Import and export tips of Heroku Postgres database

    I always keep forgetting Heroku’s database import and export commands flow. So here I am writing down that flow for me. I hope it might be useful for other Heroku users too.

    Read more
  • Apr 3, 2020

    Webpack errors in my Rails app

    While spinning up my client’s Rails project, I was getting a weird webpack error: configuration has an unknown property 'mode'.

    Read more
  • Mar 29, 2020

    Rails adds Enumerable#pick method

    Rails 6 adds a new method pick method in Enumerable module.

    Read more
  • Dec 26, 2019

    Primary or default flag to the Rails models

    Update: Please check updated changes here.

    Read more
  • Mar 19, 2018

    Convert an ActiveRecord object into the fixture

    Sometimes in your development environment, you might have created a valid active record object which you want to use as a fixture data in your test, so you don’t want to waste your time from building fixture manually.

    Read more
  • Mar 4, 2018

    Gotchas with Rails System Testing

    I’m not so familiar with Rails system testing, but recently we started to write system tests in our app. We do write model tests and controller tests which cover most of the business logic. Our app started growing a lot, and we found in some pages there were silly mistakes we had in our app which were related to JavaScript/Ajax, and which indirectly affected some of our users.

    Read more
  • Sep 19, 2016

    Microservices using Rails, HTTP & RabbitMQ

    Imagine that, we have built one monolithic app Cricket Live Score where an admin adds the live match scores into the database, and users use this app to get to know the current score about the live match. Match like India v Pakistan is very popular and it tends to have lots of traffic. Sometimes app goes down because it can’t handle such heavy traffic.

    Read more
  • Mar 18, 2015

    Voice based phone verification using Twilio

    I had written this blog when I was working for BigBinary. Please read here.

    Read more
  • Jan 12, 2015

    Phone verification using SMS via Twilio

    I had written this blog when I was working for BigBinary. Please read here.

    Read more
  • santosh.wadghule@gmail.com
The source code of the site is freely available at GitHub.
  • Ruby gems
  • mechanicles
  • santosh.wa...
  • mechanicles

A full-stack Ruby developer based out of Pune. Love Ruby, JavaScript, Open Source Software and Vim.

Subscribe to this blog via RSS