How many types of associations relationships does a model has?
Answer / Renu Paras
"A model in Ruby on Rails can have four basic types of association relationships: belongs_to, has_one, has_many, and has_many :through."
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you know about dig, float and max?
Explain the three levels of access control for ruby methods?
Tell me what does ruby name refers to?
Explain about the defined operator?
How symbol is different from variables?
Mention what is the difference between a gem and a plugin in ruby?
How to create ruby object?
Explain for loop in Ruby?
How to open a file in Ruby?
What are the different uses of ruby modules?
what is the difference between String and Symbol?
Explain ampersand parameter (&block) in Ruby?