In plain java I\'d use:
public User(String name, String email) { this.name = name; this.email = f(email); this.admin = false; }
According to Rails Guides the best way to do this is with the after_initialize. Because with the initialize we have to declare the super, so it is best to use the callback.