Re: help needed on update_attributes

Wiwi
2007-06-12T20:41:32Z

Hello,

I forget that the database is HeidiSQL.

On Jun 12, 3:28 pm, Wiwi <w...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
wrote:
> Hi,
>
> Here is my code to update an attribute of one record:
>
> @person = Person.find($person_id)
>
> @person.update_attribute(:FIRST_NAME , "ANDY")
>
> It did not update the FRIST_NAME Bryan to ANDY in the database table,
> but it did change in @person variable.
>
> Any idea???
>
> Thanks,