---
title: "Ashish Gaur (@snyder91) | Hashnode"
description: "Ashish Gaur (@snyder91) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@snyder91"
---

@snyder91

# Ashish Gaur

@snyder91 · Joined June 2021

### [Microservices in Rails](https://codingwithaglassofmilk.hashnode.dev/microservices-in-rails?utm_source=hashnode&utm_medium=feed)

Microservices architecture is an architectural style that structures an application as a collection of distributed services. This allows better separation of responsibilities, greater flexibility in the choice of technologies for each service, and ea...

6 min read · [codingwithaglassofmilk.hashnode.dev](https://codingwithaglassofmilk.hashnode.dev/microservices-in-rails?utm_source=hashnode&utm_medium=feed)

[May 30, 2025](https://hashnode.com/posts/microservices-in-rails/6839a911d23bb1460e9ea0c0)

### [Shallow vs Deep Nested Resources in Rails](https://codingwithaglassofmilk.hashnode.dev/shallow-vs-deep-nested-resources-in-rails?utm_source=hashnode&utm_medium=feed)

In Rails, in order to create routes we’ve define resources. Resources provide a mapping between an http verb with its URL and a controller action. For eg. to create routes for posts we’ve to add following to our routes.rb: # routes.rb Rails.applicati...

3 min read · [codingwithaglassofmilk.hashnode.dev](https://codingwithaglassofmilk.hashnode.dev/shallow-vs-deep-nested-resources-in-rails?utm_source=hashnode&utm_medium=feed)

[May 30, 2025](https://hashnode.com/posts/shallow-vs-deep-nested-resources-in-rails/6839a8d7be7b7bc979411a1c)

### [Setting Up Devise With Rails 7](https://codingwithaglassofmilk.hashnode.dev/setting-up-devise-with-rails-7?utm_source=hashnode&utm_medium=feed)

In this blog we’re going to look at how to setup devise gem with rails 7 using importmaps. If you want to just setup devise without knowing the nitty gritty follow tldr; otherwise scroll past it for the full blog. tldr; Follow thsese steps to setup ...

7 min read · [codingwithaglassofmilk.hashnode.dev](https://codingwithaglassofmilk.hashnode.dev/setting-up-devise-with-rails-7?utm_source=hashnode&utm_medium=feed)

[May 30, 2025](https://hashnode.com/posts/setting-up-devise-with-rails-7/6839a8a8aaf05754c5b23938)

### [Single Table Inheritance](https://codingwithaglassofmilk.hashnode.dev/single-table-inheritance?utm_source=hashnode&utm_medium=feed)

What is Single Table Inheritance ? Single Table Inheritance is a mechanism through which ActiveRecord can share fields and behavior between different models while using a single table. For eg. let’s say we need to create a Vehicle model and Car mod...

2 min read · [codingwithaglassofmilk.hashnode.dev](https://codingwithaglassofmilk.hashnode.dev/single-table-inheritance?utm_source=hashnode&utm_medium=feed)

[May 30, 2025](https://hashnode.com/posts/single-table-inheritance/6839a7e84072d985bd1e558a)

### [Polymorphic Associations](https://codingwithaglassofmilk.hashnode.dev/polymorphic-associations?utm_source=hashnode&utm_medium=feed)

What is Polymorphic Associations ? With Polymorphic Association a model can belong to more than one models with a single association. Let’s take an example, we’ll use polymorphic associations as shown in the following schema: In the above schema p...

2 min read · [codingwithaglassofmilk.hashnode.dev](https://codingwithaglassofmilk.hashnode.dev/polymorphic-associations?utm_source=hashnode&utm_medium=feed)

[May 30, 2025](https://hashnode.com/posts/polymorphic-associations/6839a7b4517a9985d3d6d520)
