This project is archived and is in readonly mode.

#2192 ✓wontfix
Brian Candler

Remove #:nodoc: for ActiveRecord methods needed outside of Rails

Reported by Brian Candler | March 10th, 2009 @ 10:40 AM | in 2.x

When using ActiveRecord in a framework other than Rails, you will need to use these methods:

  • verify_active_connections! before handling each request, to ensure DB connection has not been dropped

  • reset_subclasses before reloading model classes, otherwise you get strangeness like the same validations being performed multiple times.

However, both of these methods are marked #:nodoc:

The attached patch removes #:nodoc: and adds a brief comment as to the purpose of each one.

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