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?
835Post New Ruby on Rails Questions
how does ruby on rails use the model view controller (mvc) framework?
What is the current version of ruby on rails?
what is the difference between the Observers and Callbacks in Ruby on Rails?
What is the difference between symbol and string?
difference between member routes and collection routes ?
What are the servers supported by ruby on rails?
What are rails validation used for?
Do you know what is cross-site request forgery (csrf) and how rails is protected against it?
What is rails migrations?
What is the difference between delete and destroy ?
What is active record in rails?
Can you explain me how rails implements ajax?
At is cross-site request forgery (csrf)?
what is sweeper in Rails?
What does session and cookies represent in ruby on rails?