diff options
author | Azul <azul@leap.se> | 2012-12-18 13:41:41 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-18 13:41:41 +0100 |
commit | 285b23f39765d8346a658a81eca8b70d70b3e9bf (patch) | |
tree | ddb8f4d433c6f0461f7832ad08475b9a5bae99b2 /Rakefile | |
parent | 6e8a45145722c12dee4d15b33cc28d2b09881e1a (diff) |
refactored email_alias creation and validation
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.
Diffstat (limited to 'Rakefile')
0 files changed, 0 insertions, 0 deletions