This project is archived and is in readonly mode.

#3639 ✓committed
jeremyroman

has_and_belongs_to_many documentation fix

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

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.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages