---
title: "Discussion on \"Associations in Rails\" | Hashnode"
description: "Discussion on \"Associations in Rails\". An association is a connection between two Active Record models. It makes much easier to perform various operations on the records in your code. We will divide associations into four categories:\n\nOne to One\nOne to Many\nMany to Many\nPolymorphic One to..."
url: "https://hashnode.com/posts/associations-in-rails/5ea6b0740135fc4176630277"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Associations in Rails](https://kolosek.hashnode.dev/associations-in-rails?utm_source=hashnode&utm_medium=feed)

An association is a connection between two Active Record models. It makes much easier to perform various operations on the records in your code. We will divide associations into four categories: One to One One to Many Many to Many Polymorphic One to...

Apr 27, 2020 · kolosek.hashnode.dev  
Read the article

-   [#rails](https://hashnode.com/tag/rails)

## Written by

[Nesha Zoric](https://hashnode.com/@kolosek)

@kolosek

  
[View profile](https://hashnode.com/@kolosek)

CTO @ Kolosek.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
