Please use standard ruby syntax, e.g. primary_email vs primaryEmail. You'll need to change the view too