Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

has_and_belongs_to_many documentation fix

#3639

The documentation for has_and_belongs_to_many currently uses the following as an example:

has_and_belongs_to_many :projects

And then proceeds to say that #clients.exists?(...) will be defined. This should read #projects.exists?(...); this patch fixes the error.

Reported by jeremyroman · December 30th, 2009 @ 10:03 PM

State: committed
Milestone: none
Assigned to: Pratik Pratik
Importance: Low

Activity

  1. jeremyroman
    jeremyroman
    • Tag changed from activerecord, associations, documentation to activerecord, associations, doc, documentation

    December 30th, 2009 @ 10:07 PM

  2. andyjeffries
    andyjeffries

    +1 Good spot, applies cleanly

    February 22nd, 2010 @ 02:18 PM

  3. José Valim
    José Valim
    • Assigned user set to Pratik

    Assigning to Pratik, so he can give you access to docrails.

    February 23rd, 2010 @ 09:16 PM

  4. José Valim
    José Valim
    • State changed from new to invalid

    February 23rd, 2010 @ 09:17 PM

  5. José Valim
    José Valim
    • State changed from invalid to new

    February 23rd, 2010 @ 09:17 PM

  6. Rizwan Reza
    Rizwan Reza
    • State changed from new to committed

    Applied on your behalf to docrails.

    March 26th, 2010 @ 09:06 AM