In order to work well with things like activerecords
validates_acceptance_of, a blank value should also be false:

      value && !value.blank? && value != "false" && value != "0" &&
value != 0


this is because Merb::Parse.escape_xml converts a nil to an empty
string

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to