Recent Posts

  • November 28, 2019

    Sidekiq By Example

    What is the best way of handling background jobs in Rails, (maybe) using sidekiq.

  • November 22, 2019

    Run seed data only on first Docker instance up

    Q: Do we need to run rails db:seed, rails db:migrate every time the deployment happen? Ans - Absolutely no. rails db:seed should only run for the first time i.e. first deployment. But migrations should be run on every deployments.

  • August 20, 2019

    HTTP request response headers

    At the end browser talks in the language of HTTP request. But we really know minimal about it.

  • August 15, 2019

    Ruby Ranges

    Range in ruby can be used in following situations

  • August 05, 2019

    Useful Rails commands

    rails dbconsole, rails runner, rails notes, app and helper objects