Ativação automática de novos usuários

This must be possible from the code. I haven’t done coding on ruby but I understand how backend works. There must be a function which is updating the database when user is activated. Instead of sending email when user signs up, I will update the field of user_activated and disable sending email to user. I just want to know which code is responsible for that.