Skip to content

Commit

Permalink
Adding note about ModelValidator in migration guide
Browse files Browse the repository at this point in the history
lorenzo committed May 20, 2012
1 parent 7068e65 commit a1024ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions en/appendices/2-2-migration-guide.rst
Original file line number Diff line number Diff line change
@@ -257,3 +257,11 @@ and :doc:`/core-libraries/logging`.
- A third argument ``$scope`` has been added to :php:meth:`CakeLog::write`.
See :ref:`logging-scopes`.
- A new log engine: :php:class:`ConsoleLog` has been added.

Model Validation
================

A new object ``ModelValidator`` was added to delegate the work of validating
model data, it should be transparent to the application and fully backwards
compatible. It also exposes a rich API to add, modify and remove validation
rules. Check docs for this object in :doc:`/models/data-validation`.

0 comments on commit a1024ef

Please sign in to comment.