Рет қаралды 2,210
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