Wes, I think the problem is that your trying a regexp on an Integer. Instead you could use
:if => Proc.new{ |x| x.number_of_owners.is_a?(Integer) }
You might consider allowing nil for this as well.
Hope that helps
Wes, I think the problem is that your trying a regexp on an Integer. Instead you could use
:if => Proc.new{ |x| x.number_of_owners.is_a?(Integer) }
You might consider allowing nil for this as well.
Hope that helps