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?
783Post New Ruby on Rails Questions
What are generators in ruby on rails?
what is the role of Rails Controller?
Name some rails ide or editor.
Explain bundler in rails.
List out what can Rails Migration do?
how does ruby on rails use the model view controller (mvc) framework?
Explain me what is the difference between concern and application_controller.rb in ruby on rails?
Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me
what is the purpose of RJs in Rails?
What is the purpose of load, auto_load, and require_relative in ruby ?
When are self.up and self.down methods used?
Write a program to show the functionality of request.xhr in ruby on rails ?
How are observers and callbacks different from each other?
What is the rail console?
what is Rails Active Record in Ruby on Rails?