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.
This project is archived and is in readonly mode.
ActiveRecord::Validator should be ActiveModel::Validator
#3077
Given the push to keep everything modular and the fact that
validations have been mostly extracted from active record, having
this validator base class in the active record namespace seems like
a mistake. It has no dependencies on active record that I can tell
but validate_with from ActiveModel relies on classes conforming to
this interface.
Consequently, this class should be moved into ActiveModel so
that programs that don't require ActiveRecord can benefit from the
interface defined by the base class.
Reported by darkliquid ·
August 19th, 2009 @ 04:25 PM