Choosing between belongs_to and has_one?
No Answer is Posted For this Question
Be the First to Post Answer
How many types of variables are available in ruby class?
what are helpers and how to use helpers in ror?
What is rails scaffolding?
what is the difference in scope for these two variables: @@name and @name?
Explain rvm in rails?
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?
difference between member routes and collection routes ?
What do you understand by rails?
Why do we use request.xhr? in rails
what is the difference between redirect and render in Ruby on Rails?
Tell me what is ruby on rails?
What are the major components of Ruby on Rails?