hey,

my Datamapper::Resource has a Date property and I am using a textfield
for the input. It should be possible to set a nil Date but an empty
textfield causes a validation error ("must be of type Date").

I can write my own setter to consider an empty String, but thats not
very comfortable. I guess you guys have a better solution.

Thanks in advance,
benni
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to