Thanks, yeah it was saying "IP Address must be an integer" ;)

I solved it by defining typecast_to_primitive.  I then later discovered that 
@postmodern already has a class that does the exact same thing :P


On 05/07/2011, at 03:34, Javier wrote:

> Have you tried to print errors?
> 
> after save do this:
> 
> example.errors each do |err|
>    puts err
> end
> 
> hope this help find the cause
> 
> -- 
> 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.
> 

-- 
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