This project is archived and is in readonly mode.

#3995 ✓stale
Student

Documentation: ActiveRecord::Base#valid? clears errors

Reported by Student | February 18th, 2010 @ 11:27 PM

The documentation says: "Runs validate and validate_on_create or validate_on_update and returns true if no errors were added otherwise false.", but it fails to note that errors are first cleared. While I might want to argue these semantics, the documentation needs to reflect this fact.

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>

Attachments

Pages