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.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Documentation: ActiveRecord::Base#valid? clears errors

#3995

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.

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

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

Activity

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

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

    February 21st, 2010 @ 12:22 PM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to stale

    No longer applicable to master.

    May 25th, 2010 @ 10:17 AM