datamapper/dm-core — Issue #191: Field length validation fails when type is BCryptHash
Author: craig552uk
Created: 2012-02-28 12:54:27+00:00
State: open

The follow field validation fails. Is this because the length validation occurs after the field value is hashed?

property :password, BCryptHash, :length => 8..32