To follow up on this in case it could help anyone, I scratched this
itch by modifying the automatic validation code in hobofields/lib/
hobo_fields/enum_string.rb to allow blank values:

http://github.com/jorahood/hobo/commit/894bc81a065ee650e6b43e79d8873b66d8966ef2

On Jun 19, 5:07 pm, Andy Orahood <[email protected]> wrote:
> Having first-option as an attribute for the HoboFields::EnumString is
> great to allow submitting nil values, but I'm not sure how to tell the
> controller that nil values for the EnumString are ok; when I try to
> submit nil I get a flash error saying I have to pick one of the
> enumerated values!
>
> http://github.com/tablatom/hobo/commit/5577675e87d1a4bb7fc230123f8325...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to