This project is archived and is in readonly mode.
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
-
José Valim February 21st, 2010 @ 12:22 PM
- Assigned user set to Pratik
Assigning to Pratik, so he can give you access to docrails.
-
Ryan Bigg May 25th, 2010 @ 10:17 AM
- State changed from new to stale
No longer applicable to master.
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>