Hi,

why Datamapper::Type is deprecated and how to rewrite it?

FacebookUid < DataMapper::Type is deprecated, use the new
DataMapper::Property API instead (/home/zakjan/.rvm/gems/ruby-1.8.7-
p249/gems/dm-validations-1.0.0/lib/dm-validations.rb:41:in `new')

class FacebookUid < DataMapper::Type
  primitive Integer
  min       1
  max       2**64-1
end

I am using DM 1.0.

Thanks, JZ

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