Does this method still exist?  In the docs it says so, but I can't get
it to work and get the following error.

NoMethodError: undefined method `validates_confirmation_of' for
Account:Class

###
# Code
###
class Account
  include DataMapper::Resource

  property :id, Serial
  property :auth_key, String, :required => true
  property :email, String, :required => true, :unique => true
  property :crypted_password, String, :required => true
  property :password_seed, String, :required => true
  property :last_id, Integer
  property :created_at, DateTime

  attr_accessor :password, :password_confirmation
  validates_confirmation_of :password

end

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