Choosing between belongs_to and has_one?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Ruby on Rails Interview Questions

How many types of variables are available in ruby class?

0 Answers  


what are helpers and how to use helpers in ror?

0 Answers  


What is rails scaffolding?

0 Answers  


what is the difference in scope for these two variables: @@name and @name?

0 Answers  


Explain rvm in rails?

0 Answers  






If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

0 Answers  


difference between member routes and collection routes ?

0 Answers  


What do you understand by rails?

0 Answers  


Why do we use request.xhr? in rails

2 Answers   IBM,


what is the difference between redirect and render in Ruby on Rails?

0 Answers  


Tell me what is ruby on rails?

0 Answers  


What are the major components of Ruby on Rails?

1 Answers   QualTech,


Categories