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 is a ruby singleton method ?
Is ruby on rails popular?
how can we define Ruby regular expressions?
Whats the difference between symbol and string?
what are rails filters?
what is the difference between calling super() and super call?
Tell me what is the difference between the observers and callbacks in ruby on rails?
At is cross-site request forgery (csrf)?
What are the various changes between the rails version 2 and 3?
What are generators in ruby on rails?
What is the current version of ruby on rails?