my $predicate = $self->attribute->get_predicate_method;
if (!$predicate || $self->model->$predicate
- #|| ($self->attribute->is_lazy
- # && !$self->attribute->is_lazy_fail)
+ || ($self->attribute->is_lazy
+ && !$self->attribute->is_lazy_fail)
) {
+ # edenc -- uncommented the lazy checks above
+ # model->$predicate returns false if the value isn't set
+ # but has a lazy builder
+
# either model attribute has a value now or can build it
return 1;
}