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
> :(
>
> 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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtV8tM%3DzEc1jA1yjssHW0pTm_2k5CziwrE3_aT3xNJmKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to