Using present? limits what can be set as :default and restricts falsy values like false, '', [] for example.
I don't really see why not allow those (I have a use case for false for example, which is to ensure a nullable boolean value is always rendered as a boolean).
Using
present?
limits what can be set as:default
and restricts falsy values likefalse
,''
,[]
for example.I don't really see why not allow those (I have a use case for
false
for example, which is to ensure a nullable boolean value is always rendered as a boolean).