update the content of a column in a BD table

hello every body , ( i am new in ROR )

i have a form with a password field to update the password of the user admin .

please how can i update the column with the content of the field ?

ch1=params[:pass1]

thanks a lot !

any help please ?

thanks

What have you already tried? Have you read or tried some tutorials or guides?

People here are most willing to help you when you are stuck but have already been trying on your own to find a solution, coming here as soon as something doesn't work without even trying to fix it yourself will only get you what you have experienced already: silence.

Best,

Felix