# File app/observers/user_observer.rb, line 2 def after_create(user) log_info("User \"#{user.name}\" (#{user.email}) was created") Notify.new_user_email(user.id, user.password).deliver end
# File app/observers/user_observer.rb, line 8 def after_destroy user log_info("User \"#{user.name}\" (#{user.email}) was removed") end
# File app/observers/user_observer.rb, line 14 def log_info message Gitlab::AppLogger.info message end