Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Imagine that you have two models: "User" and "Book", and a user can have only one book. How should the association look like in the "User" model?

belongs_to :book
has_many: books
has_one :books
has_one :book
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon