# Update the content of a column in a BD table

**URL:** <https://www.ruby-forum.com/t/update-the-content-of-a-column-in-a-bd-table/195691>\
**Category:** Rails\
**Created:** [September 28, 2010, 10:31am UTC](https://www.ruby-forum.com/t/update-the-content-of-a-column-in-a-bd-table/195691 "2010-09-28T10:31:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdelkarim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@abdelkarim](https://www.ruby-forum.com/u/abdelkarim)\
**Post date:** [September 28, 2010, 10:31am UTC](https://www.ruby-forum.com/t/update-the-content-of-a-column-in-a-bd-table/195691/1 "2010-09-28T10:31:38Z")

</div>

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 !

---

<div class="post-metadata">

**Author:** ![abdelkarim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@abdelkarim](https://www.ruby-forum.com/u/abdelkarim)\
**Post date:** [October 5, 2010, 10:13pm UTC](https://www.ruby-forum.com/t/update-the-content-of-a-column-in-a-bd-table/195691/2 "2010-10-05T22:13:04Z")

</div>

any help please ?

thanks

2010/9/28 abdelkarim [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![abdelkarim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@abdelkarim](https://www.ruby-forum.com/u/abdelkarim)\
**Post date:** [October 5, 2010, 10:20pm UTC](https://www.ruby-forum.com/t/update-the-content-of-a-column-in-a-bd-table/195691/3 "2010-10-05T22:20:41Z")

</div>

Am 05.10.2010 um 22:11 schrieb abdelkrim fitouri:

> any help please ?

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
