Skip to content

Tech Tales

Hey there! Welcome to our blog, where our team shares all things tech from cool solutions to everyday challenges to innovative ideas we're excited about. We're here to share our journey, inspire yours and have some fun along the way!

  1. Published
    Author
    Syed SibtainSystem Analyst

    Operating Kafka in Rails with Karafka: Production Architecture, Consumers, and DLQs (Part 2)

    In Part 2, we dive deep into the Sync-Out pipeline—how Rails publishes events to Kafka, how our legacy adapter writes to SQL Server 2009 using TinyTDS, and how Dead-Letter Queues (DLQs) became our lifeline during production incidents. This post covers transaction management, service objects, and operational workflows for handling failures.

    Read more
  2. Published
    Author
    Kashyap

    Working with Rails, Webpack and Heroku

    Deploying a Rails app with Webpack asset management on Heroku can be tricky. However, Heroku provides lifecycle hooks on its NodeJs buildpack that will help make this easier.

    Read more
  3. Published
    Author
    Kashyap

    New in ActiveRecord

    Rails 5 has a new feature added to ActiveRecord that makes working with batch data much more efficient. The `Model.in_batches` function passes a batch of records wrapped inside an ActiveRecord collection.

    Read more
  4. Published
    Author
    YuvaFounder & CTO

    Cake walk

    Traditionally, Rails 3.x and above come with Sprockets and asset management functions. However, using a JavaScript or CSS library with Sprockets means we'd have to roll them into gems with a specific directory heirarchy. Instead, we can leverage Bower to handle that for us.

    Read more
  5. Published
    Author
    YuvaFounder & CTO

    Form object validations in Rails 4

    Interacting with complex web forms tends to become hairy pretty quickly. Using Form or Service objects to abstract out the complexity can help wrangle complexity. This post talks about how we use them to make code simpler.

    Read more