Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5533

Unnecessary edits to Comment model in Rails Getting Started

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 8.1.0, 8.0.3
    • Affects Version/s: None
    • Component/s: Docs

      In Getting Started (Rails), we demonstrate how to build a standard blog post application. In the section on adding comments, we instruct the user to open comment.rb and change embedded_in to belongs_to. With the latest version of Rails or Mongoid (not sure which changed the generator), it is already a belongs_to assocation.

            Assignee:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: