No video

Difference between has_many_through and has_and_belongs_to_many associations.

  Рет қаралды 2,210

APPSIMPACT Academy

APPSIMPACT Academy

Күн бұрын

Hello Friends
Welcome back!
In this video, I have discussed the next question of our Ruby on Rails interview question series. In this question, we will understand the difference between has_and_belongs_to_many and has_many: :through associations.
Both are types of associations in Rails and both provide the way to implement many to many associations.
But both have some differences and of course preferences as well. Let's try to understand this one by one.
To know more about the preference you can check this link:
guides.rubyonr...
Thanks for watching the video and lets meet into the next video with another interesting and important question

Пікірлер: 3
@AhmadHassan-nw4wt
@AhmadHassan-nw4wt 11 ай бұрын
sir we will not perform any velidations and callbacks when we use has and belong to many associations but you said when we use has many through
@poornimasridhar5011
@poornimasridhar5011 2 жыл бұрын
very useful sir...Please share nested attributes in rails
@APPSIMPACTAcademy
@APPSIMPACTAcademy 2 жыл бұрын
Yes, soon
Member and Collection In Ruby on Rails
15:24
APPSIMPACT Academy
Рет қаралды 2,9 М.
has_and_belongs_to_many Association in Rails
17:31
APPSIMPACT Academy
Рет қаралды 9 М.
Harley Quinn's plan for revenge!!!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 31 МЛН
OMG what happened??😳 filaretiki family✨ #social
01:00
Filaretiki
Рет қаралды 12 МЛН
Алексей Щербаков разнес ВДВшников
00:47
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 36 МЛН
SQL Index |¦| Indexes in SQL |¦| Database Index
9:57
Socratica
Рет қаралды 613 М.
Understanding Active Record Associations
15:16
webcrunch
Рет қаралды 34 М.
Chess Prodigy Yagiz Kaan Erdogmus becomes Youngest 2600 Player Ever
9:01
Multi-Threading and Ruby's Thread Class - Launch School Tech Talks
35:47
Operating System Basics
23:16
Brian Will
Рет қаралды 658 М.
Default example of HashWithIndifferentAccess in rails
4:26
APPSIMPACT Academy
Рет қаралды 61
Como usar o has_many through do Ruby on Rails
8:22
Lucas Caton
Рет қаралды 2,3 М.
Send Email in Rails and Preview using letter_opener gem
29:04
APPSIMPACT Academy
Рет қаралды 4,8 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
Harley Quinn's plan for revenge!!!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 31 МЛН