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?
No Answer is Posted For this Question
Be the First to Post Answer
Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me
What are float, dig and max?
Explain me what is the function of orm in ruby on rails?
Choosing between belongs_to and has_one?
hi am b,tech 2011 passedout now am learnig ROR technology may i knw what is the feature of this one and what is the salary ranges to this i heard there is a less salaries to this technology give me valuable suggestions
How is direct different from render?
What is the difference between save and save?
Why do we use request.xhr? in rails
What are generators in ruby on rails?
What is the symbol garbage collector?
Mention the differences between the observers and callbacks in ruby on rails.
Who designed active record in rails?