Why cannot I use allow_blank together with_options?

Hi there,

I was using it on 4.1.7, but when I upgrade to 4.2.5 it does not work
more
:frowning:

with_options allow_blank: true do |v|

end

allow_blank doesn’t included
here:

Is there a reason?

Thanks

On 18 December 2015 at 14:18, Thiago Guimarães [email protected]
wrote:

Hi there,

I was using it on 4.1.7, but when I upgrade to 4.2.5 it does not work more
:frowning:

with_options allow_blank: true do |v|

end

That is not what with_options is for, it is for grouping conditional
validations. Show us the rest of the validation so we can see what
you are trying to do.

Colin