Yes ain't I the verbose one today :)

So I discovered today after much blood and tears that, even if a field is 
not required in my model, it will throw an exception if I try to create a 
new record where that particular field is empty (when I leave the text 
input empty on my form).

That seems strange, it can't be right, can it?

For now I have a horrible work around where I check if that field is empty 
at POST and create a different Model.create statement based on that check...

Could someone please shine some light on me? I must be doing something 
wrong here.

-M

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/datamapper/-/AacDbQKZF98J.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to