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
Are there any disadvantages of ruby on rails? If yes, mention them.
Explain how does rails implement ajax?
Explain about Dig, Float and Max?
What is rails migration? What can it do?
what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?
What is the use of $ in ruby?
How can you run rails without creating databases?
Explain unobtrusive javascript in rails.
What are the three methods to install ruby on rails?
what is Ruby on Rails?
Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me
What is action cable?
What can Rails Migration do?
Which command is used to create a migration?
Please explain what are the positive aspects of rails?