what is Polymorphic Association in Ruby on Rails?
Answer / Kamal Kihsor
Polymorphic Association in Ruby on Rails allows one association to be shared by multiple classes. For example, a Post can have multiple Comments, and a User can also have multiple Comments, so the Comment model has a polymorphic association with both Post and User.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is rake in Rails?
ruby on rails and java ,which of one of the best in future &present?
What is the symbol garbage collector?
Explain view in rails?
How will be the future for ruby on rails?
Explain valid and invalid in rails?
Write the command to update rvm in rails.
Tell me what is ruby on rails?
What are the different filters used in ruby on rails?
what is ORM (Object-Relationship-Model) in Rails?
What are class libraries?
How to serialize data with yaml?