I have a column in my database called 'email'. I want to store the current logged in user's email address into this column when they submit a specific form.

At first I thought I should write something in the html to grab the current user's email address and hide it in the form somewhere but I realized that was probably a bad idea since anyone would be able to modify the html to put any email address that they want in there.

So my question is, would I go about this in the controller? If so, how would I go about doing that?