Just ran into this enum validation issue from this thread: https://github.com/rails/rails/issues/13971 …
I get @chancancode's answer, but I wish it worked :-)
-
-
@chancancode@abelmartin But the validation could operate on `_before_type_cast`, similar to numericality. -
I'm tentatively excited about this :-)
@sgrif, I've heard about your AR refactoring on@_bikeshed. Very cool! /cc@chancancode
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.