Hi,

This should be a pretty dumb question, but i've not been able to find an 
answer for it by googling round. Lets say i have a model:

class User
  include DataMapper::Resource
  property :email, :unique => true,
    :messages { :is_unique => "Email (.*) has already been taken" }
end

I hope to have the above '(.*)' to be dynamically replaced at runtime, 
how do i do it ?

TKS 

--
http://ngty77.blogspot.com


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