summaryrefslogtreecommitdiff
path: root/users/app/models/local_email.rb
AgeCommit message (Collapse)Author
2012-12-18refactored email_alias creation and validationAzul
using CouchRests user.email_aliases.build so the casted_by method is set in the alias Used this to move the validations into the alias itself. This is where they belong and allows us to render the errors inline along the email field they belong to.
2012-12-13use the same partial for Email and LocalEmailAzul
2012-12-13LocalEmail added - will validate uniqueness amongst emails and aliasesAzul