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!

Search icon

Understanding Database Connections in Rails

Published
Author
Giritharan
System Analyst

A comprehensive guide to database connections in Rails. Learn about configuring credentials, establishing TCP connections, setting session parameters, managing authentication, and optimizing performance with connection pooling. Understand how to ensure efficient communication between your Rails application and the database.

Read more

Exploring Auth0 Custom Actions

Published
Author
Ayush Srivastava
System Analyst

A look at how to create, manage, and utilize custom actions in various workflows, including login/post-login, machine-to-machine, password reset, pre and post-user registration, and sending phone messages.

Read more

Streamlining Development

Published
Author
Satya Swaroop Mohapatra
Senior System Analyst

Learn how to optimize your development workflow by automatically setting up preview environments in fly.io whenever a pull request is opened. This blog post provides step-by-step guidance on configuring a preview app and a preview db in fly.io.

Read more

Server Actions in Next.js 14

Published
Author
Ashwani Kumar Jha
Senior System Analyst

Dive into Server Actions in Next.js 14. This post covers everything from syntax and setup to dynamic content updates, learn about form submission handling, network requests, and strategies for seamless user experiences.

Read more

Command the Command Line

Published
Author
Ashwani Kumar Jha
Senior System Analyst

Understand the Terminal, and its importance. Explore basics like opening tabs, listing files, navigating, and running commands. Master file operations, file viewing, searching, and much more.

Read more

Testing Simplified

Published
Author
Satya Swaroop Mohapatra
Senior System Analyst

Simplify your testing journey by comparing the strengths and weaknesses of Playwright and Cypress, and discover the testing tool that perfectly aligns with your needs.

Read more

Understanding Exit Signals in Erlang/Elixir

Published
Author
Emil Soman

Erlang is a powerful concurrent programming language that has Processes as a first class citizen. These are isolated by default. Just like in Unix, these processes can communicate using Signals. In this post we will see how to achieve that in Elixir.

Read more

Visualizing Parallel Requests in Elixir

Published
Author
Emil Soman

Elixir, built on the battle-tested Erlang VM, is a language that has concurrency as its core ideas. I will introduce a monitoring utility shipped with the VM that helps us visualize HTTP requests.

Read more

New in ActiveRecord

Published
Author
Kashyap

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

DIY Ruby CPU profiling - Part IV

Published
Author
Emil Soman

Ruby's TracePoint API is very powerful for building custom profilers. As the final post of the DIY CPU profiler series, this post will introduce how to get method runtime statistics and generate relevant graphs.

Read more

DIY Ruby CPU profiling - Part I

Published
Author
Emil Soman

Ruby's TracePoint API is very powerful and allows us to write custom profiling code without slowing down the execution of programs. In this post, I will introduce CPU profiling and 2 strategies to write one.

Read more

Cake walk

Published
Author
Yuva
Co-founder

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

An Introduction to JSON Schema

Published
Author
Kashyap

JSON schema can help bring order to handling complex JSON interactions in APIs. For instance, you can avoid checking the types of incoming JSON and rely on JSON schema to do the validation. This post talks about similar usecases.

Read more

Form object validations in Rails 4

Published
Author
Yuva
Co-founder

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